Make the references to Popen in the description of Call

and check_call into links.
This commit is contained in:
R. David Murray 2010-02-16 17:55:26 +00:00
parent 7875ef67cd
commit 6dfe66298b
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ This module also defines two shortcut functions:
Run command with arguments. Wait for command to complete, then return the Run command with arguments. Wait for command to complete, then return the
:attr:`returncode` attribute. :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"]) >>> 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 :exc:`CalledProcessError` object will have the return code in the
:attr:`returncode` attribute. :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"]) >>> subprocess.check_call(["ls", "-l"])
0 0