diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-02 13:39:01 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-02 13:39:01 (GMT) |
commit | 5492d358e46b484f28a8412817f7366227e639bf (patch) | |
tree | 0a35abe2b4a0e5b40335240b8d0ba3aa5efb2e54 | |
parent | 31e7f50d4cb756927a89d2d33eaf1b5a030be7a9 (diff) | |
download | cpython-5492d358e46b484f28a8412817f7366227e639bf.zip cpython-5492d358e46b484f28a8412817f7366227e639bf.tar.gz cpython-5492d358e46b484f28a8412817f7366227e639bf.tar.bz2 |
asyncio doc: fix subprocess sections
-rw-r--r-- | Doc/library/asyncio-subprocess.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst index 3c9e3cb..c0704cd 100644 --- a/Doc/library/asyncio-subprocess.rst +++ b/Doc/library/asyncio-subprocess.rst @@ -303,7 +303,7 @@ Process .. _asyncio-subprocess-threads: Subprocess and threads -====================== +---------------------- asyncio supports running subprocesses from different threads, but there are limits: @@ -322,10 +322,10 @@ The :class:`asyncio.subprocess.Process` class is not thread safe. Subprocess examples -=================== +------------------- Subprocess using transport and protocol ---------------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Example of a subprocess protocol using to get the output of a subprocess and to wait for the subprocess exit. The subprocess is created by the @@ -381,7 +381,7 @@ wait for the subprocess exit. The subprocess is created by the Subprocess using streams ------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^ Example using the :class:`~asyncio.subprocess.Process` class to control the subprocess and the :class:`StreamReader` class to read from the standard |