[Python-checkins] cpython (3.4): asyncio doc: fix subprocess sections
victor.stinner
python-checkins at python.org
Wed Sep 2 15:41:44 CEST 2015
https://hg.python.org/cpython/rev/d65d3222538d
changeset: 97577:d65d3222538d
branch: 3.4
parent: 97557:328383905eaf
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Sep 02 15:39:01 2015 +0200
summary:
asyncio doc: fix subprocess sections
files:
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
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -303,7 +303,7 @@
.. _asyncio-subprocess-threads:
Subprocess and threads
-======================
+----------------------
asyncio supports running subprocesses from different threads, but there
are limits:
@@ -322,10 +322,10 @@
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 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list