]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
asyncio doc: fix subprocess sections
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 2 Sep 2015 13:39:01 +0000 (15:39 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 2 Sep 2015 13:39:01 +0000 (15:39 +0200)
Doc/library/asyncio-subprocess.rst

index 3c9e3cbdb5e1d20120cd39328de680b0075de171..c0704cde2ce3b38cc7a006dd9603c49b2bad21b0 100644 (file)
@@ -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