]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
asyncio.subprocess: Fix a typo in doc (GH-92030)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 May 2022 15:20:25 +0000 (08:20 -0700)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 15:20:25 +0000 (08:20 -0700)
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
(cherry picked from commit bb857a96ef368ba9de1da2db12b1a1f1870606ac)

Co-authored-by: Harsh <65716674+Harsh-br0@users.noreply.github.com>
Doc/library/asyncio-subprocess.rst

index 6ba24249f28d843837bdd8e77e323485c8d2352a..fbe68f78a2f9b6c0e1dd5954b97af7bb905dcce5 100644 (file)
@@ -278,7 +278,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.