mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Migrate to Sphinx 1.0 C language constructs.
This commit is contained in:
parent
64a41edb03
commit
60203b41b0
106 changed files with 2573 additions and 2569 deletions
|
@ -277,7 +277,7 @@ This module also defines four shortcut functions:
|
|||
``(status, output)``. *cmd* is actually run as ``{ cmd ; } 2>&1``, so that the
|
||||
returned output will contain output or error messages. A trailing newline is
|
||||
stripped from the output. The exit status for the command can be interpreted
|
||||
according to the rules for the C function :cfunc:`wait`. Example::
|
||||
according to the rules for the C function :c:func:`wait`. Example::
|
||||
|
||||
>>> subprocess.getstatusoutput('ls /bin/ls')
|
||||
(0, '/bin/ls')
|
||||
|
@ -387,7 +387,7 @@ Instances of the :class:`Popen` class have the following methods:
|
|||
.. method:: Popen.terminate()
|
||||
|
||||
Stop the child. On Posix OSs the method sends SIGTERM to the
|
||||
child. On Windows the Win32 API function :cfunc:`TerminateProcess` is called
|
||||
child. On Windows the Win32 API function :c:func:`TerminateProcess` is called
|
||||
to stop the child.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue