mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08: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
@ -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…
Reference in New Issue
Block a user