mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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 bb857a96ef
)
Co-authored-by: Harsh <65716674+Harsh-br0@users.noreply.github.com>
This commit is contained in:
parent
9ce39cc9f2
commit
9941640041
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue