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:
Harsh 2022-05-02 20:31:52 +05:30 committed by GitHub
parent 2a7efa3242
commit bb857a96ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.