mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
asyncio.subprocess: Fix a typo in doc (#92030)
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
This commit is contained in:
parent
2a7efa3242
commit
bb857a96ef
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