From bb857a96ef368ba9de1da2db12b1a1f1870606ac Mon Sep 17 00:00:00 2001 From: Harsh <65716674+Harsh-br0@users.noreply.github.com> Date: Mon, 2 May 2022 20:31:52 +0530 Subject: asyncio.subprocess: Fix a typo in doc (#92030) Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance --- Doc/library/asyncio-subprocess.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst index 748b704..e500053 100644 --- a/Doc/library/asyncio-subprocess.rst +++ b/Doc/library/asyncio-subprocess.rst @@ -275,7 +275,7 @@ their completion. Use the :meth:`communicate` method rather than :attr:`process.stdin.write() `, :attr:`await process.stdout.read() ` or - :attr:`await process.stderr.read `. + :attr:`await process.stderr.read() `. This avoids deadlocks due to streams pausing reading or writing and blocking the child process. -- cgit v0.12