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

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


https://github.com/python/cpython/commit/9941640041ef528dc6565ae7b2d1d26efdf8d19e
commit: 9941640041ef528dc6565ae7b2d1d26efdf8d19e
branch: 3.10
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:18:01-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 748b704032554..e5000532a895d 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.
 



More information about the Python-checkins mailing list