Commit 652050c1 authored by Victor Stinner's avatar Victor Stinner

asyncio doc: fix subprocess sections

parent 57f649e0
...@@ -303,7 +303,7 @@ Process ...@@ -303,7 +303,7 @@ Process
.. _asyncio-subprocess-threads: .. _asyncio-subprocess-threads:
Subprocess and threads Subprocess and threads
====================== ----------------------
asyncio supports running subprocesses from different threads, but there asyncio supports running subprocesses from different threads, but there
are limits: are limits:
...@@ -322,10 +322,10 @@ The :class:`asyncio.subprocess.Process` class is not thread safe. ...@@ -322,10 +322,10 @@ The :class:`asyncio.subprocess.Process` class is not thread safe.
Subprocess examples Subprocess examples
=================== -------------------
Subprocess using transport and protocol Subprocess using transport and protocol
--------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Example of a subprocess protocol using to get the output of a subprocess and to 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 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 ...@@ -381,7 +381,7 @@ wait for the subprocess exit. The subprocess is created by the
Subprocess using streams Subprocess using streams
------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^
Example using the :class:`~asyncio.subprocess.Process` class to control the Example using the :class:`~asyncio.subprocess.Process` class to control the
subprocess and the :class:`StreamReader` class to read from the standard subprocess and the :class:`StreamReader` class to read from the standard
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment