[Python-checkins] asyncio.subprocess: Fix a typo in doc (GH-92030)

miss-islington webhook-mailer at python.org
Mon May 2 11:20:29 EDT 2022


https://github.com/python/cpython/commit/0c011cc6c2a7629b8120ec26d7776713c096e69c
commit: 0c011cc6c2a7629b8120ec26d7776713c096e69c
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-05-02T08:20:25-07:00
summary:

asyncio.subprocess: Fix a typo in doc (GH-92030)


Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
(cherry picked from commit bb857a96ef368ba9de1da2db12b1a1f1870606ac)

Co-authored-by: Harsh <65716674+Harsh-br0 at users.noreply.github.com>

files:
M Doc/library/asyncio-subprocess.rst

diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst
index 6ba24249f28d8..fbe68f78a2f9b 100644
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -278,7 +278,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.
 



More information about the Python-checkins mailing list