summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-02 13:41:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-02 13:41:08 (GMT)
commit1101c5873706b69d687400939e50b07af13ec8a0 (patch)
tree995909a9187256e746f61fdc2bc2df1f8f5b4eba
parentf08fea9ee8a4ff12445b994dc7956b58e85762f4 (diff)
parent44a25faf7c7eec735caeee2b0adcbe0446c92760 (diff)
downloadcpython-1101c5873706b69d687400939e50b07af13ec8a0.zip
cpython-1101c5873706b69d687400939e50b07af13ec8a0.tar.gz
cpython-1101c5873706b69d687400939e50b07af13ec8a0.tar.bz2
Merge 3.5 (asyncio doc)
-rw-r--r--Doc/library/asyncio-subprocess.rst8
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