[Python-checkins] asyncio.subprocess: Fix a typo in doc (#92030)
JelleZijlstra
webhook-mailer at python.org
Mon May 2 11:01:56 EDT 2022
https://github.com/python/cpython/commit/bb857a96ef368ba9de1da2db12b1a1f1870606ac
commit: bb857a96ef368ba9de1da2db12b1a1f1870606ac
branch: main
author: Harsh <65716674+Harsh-br0 at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-05-02T09:01:52-06:00
summary:
asyncio.subprocess: Fix a typo in doc (#92030)
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
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