]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
asyncio.subprocess: Fix a typo in doc (#92030)
authorHarsh <65716674+Harsh-br0@users.noreply.github.com>
Mon, 2 May 2022 15:01:52 +0000 (20:31 +0530)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 15:01:52 +0000 (09:01 -0600)
Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance

Doc/library/asyncio-subprocess.rst

index 748b704032554923a988632f76538c00bc6093df..e5000532a895dd104e4c5d5e6e7705f90210cbc5 100644 (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.