mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Make the references to Popen in the description of Call
and check_call into links.
This commit is contained in:
parent
7875ef67cd
commit
6dfe66298b
1 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ This module also defines two shortcut functions:
|
|||
Run command with arguments. Wait for command to complete, then return the
|
||||
:attr:`returncode` attribute.
|
||||
|
||||
The arguments are the same as for the Popen constructor. Example::
|
||||
The arguments are the same as for the :class:`Popen` constructor. Example::
|
||||
|
||||
>>> retcode = subprocess.call(["ls", "-l"])
|
||||
|
||||
|
|
@ -205,7 +205,7 @@ This module also defines two shortcut functions:
|
|||
:exc:`CalledProcessError` object will have the return code in the
|
||||
:attr:`returncode` attribute.
|
||||
|
||||
The arguments are the same as for the Popen constructor. Example::
|
||||
The arguments are the same as for the :class:`Popen` constructor. Example::
|
||||
|
||||
>>> subprocess.check_call(["ls", "-l"])
|
||||
0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue