summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-subprocess.rst
diff options
context:
space:
mode:
authorHarsh <65716674+Harsh-br0@users.noreply.github.com>2022-05-02 15:01:52 (GMT)
committerGitHub <noreply@github.com>2022-05-02 15:01:52 (GMT)
commitbb857a96ef368ba9de1da2db12b1a1f1870606ac (patch)
tree2f4362aa1922d7876e86ffe0f4a67bcba59d2b19 /Doc/library/asyncio-subprocess.rst
parent2a7efa324274a54fe0e5480cae1438d8294b9ec3 (diff)
downloadcpython-bb857a96ef368ba9de1da2db12b1a1f1870606ac.zip
cpython-bb857a96ef368ba9de1da2db12b1a1f1870606ac.tar.gz
cpython-bb857a96ef368ba9de1da2db12b1a1f1870606ac.tar.bz2
asyncio.subprocess: Fix a typo in doc (#92030)
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
Diffstat (limited to 'Doc/library/asyncio-subprocess.rst')
-rw-r--r--Doc/library/asyncio-subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst
index 748b704..e500053 100644
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -275,7 +275,7 @@ their completion.
Use the :meth:`communicate` method rather than
:attr:`process.stdin.write() <stdin>`,
:attr:`await process.stdout.read() <stdout>` or
- :attr:`await process.stderr.read <stderr>`.
+ :attr:`await process.stderr.read() <stderr>`.
This avoids deadlocks due to streams pausing reading or writing
and blocking the child process.