]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Markup fixes
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 21 Jan 2009 02:16:26 +0000 (02:16 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 21 Jan 2009 02:16:26 +0000 (02:16 +0000)
Doc/library/subprocess.rst

index 316ee80f39449c505b0fe0e9c49232e7698eba7a..9327f98d5e8703b51309c67b63cd6e6ae9615b53 100644 (file)
@@ -167,11 +167,12 @@ This module also defines two shortcut functions:
 
    Run command with arguments and return its output as a byte string.
 
-   If the exit code was non-zero it raises a CalledProcessError.  The
-   CalledProcessError object will have the return code in the returncode
-   attribute and output in the output attribute.
+   If the exit code was non-zero it raises a :exc:`CalledProcessError`.  The
+   :exc:`CalledProcessError` object will have the return code in the
+   :attr:`returncode`
+   attribute and output in the :attr:`output` 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_output(["ls", "-l", "/dev/null"])
       'crw-rw-rw- 1 root root 1, 3 Oct 18  2007 /dev/null\n'