diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-02 15:18:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 15:18:01 (GMT) |
commit | 9941640041ef528dc6565ae7b2d1d26efdf8d19e (patch) | |
tree | 73ec19cdf4fa2f2b7fa69aaae840fc467386ce9d | |
parent | 9ce39cc9f218da782949f6957b900fb8a8aa7a75 (diff) | |
download | cpython-9941640041ef528dc6565ae7b2d1d26efdf8d19e.zip cpython-9941640041ef528dc6565ae7b2d1d26efdf8d19e.tar.gz cpython-9941640041ef528dc6565ae7b2d1d26efdf8d19e.tar.bz2 |
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@users.noreply.github.com>
-rw-r--r-- | Doc/library/asyncio-subprocess.rst | 2 |
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. |