Skip to content

Commit

Permalink
asyncio.subprocess: Fix a typo in doc (#92030)
Browse files Browse the repository at this point in the history
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
  • Loading branch information
Harsh-br0 committed May 2, 2022
1 parent 2a7efa3 commit bb857a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/asyncio-subprocess.rst
Expand Up @@ -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.

Expand Down

0 comments on commit bb857a9

Please sign in to comment.