8000 asyncio.subprocess: Fix a typo in doc (GH-92030) · python/cpython@9941640 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 9941640

Browse files
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 bb857a9) Co-authored-by: Harsh <65716674+Harsh-br0@users.noreply.github.com>
1 parent 9ce39cc commit 9941640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-subprocess.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ their completion.
275275
Use the :meth:`communicate` method rather than
276276
:attr:`process.stdin.write() <stdin>`,
277277
:attr:`await process.stdout.read() <stdout>` or
278-
:attr:`await process.stderr.read <stderr>`.
278+
:attr:`await process.stderr.read() <stderr>`.
279279
This avoids deadlocks due to streams pausing reading or writing
280280
and blocking the child process.
281281

0 commit comments

Comments
 (0)
0