]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: add missing capture_output arg to subprocess.run() signature (GH-8374)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Aug 2018 22:03:52 +0000 (15:03 -0700)
committerGitHub <noreply@github.com>
Thu, 9 Aug 2018 22:03:52 +0000 (15:03 -0700)
(cherry picked from commit 22d131a7f9e4e64486da1d1cddbfed2379517791)

Co-authored-by: Andriy Maletsky <9919211+and800@users.noreply.github.com>
Doc/library/subprocess.rst

index 58439864f37a088b6ae4a64ed842dd566d729284..19f6ff38bb2ba85a240671e9cd08bdb3f79d852e 100644 (file)
@@ -38,8 +38,8 @@ compatibility with older versions, see the :ref:`call-function-trio` section.
 
 
 .. function:: run(args, *, stdin=None, input=None, stdout=None, stderr=None,\
-                  shell=False, cwd=None, timeout=None, check=False, \
-                  encoding=None, errors=None, text=None, env=None)
+                  capture_output=False, shell=False, cwd=None, timeout=None, \
+                  check=False, encoding=None, errors=None, text=None, env=None)
 
    Run the command described by *args*.  Wait for command to complete, then
    return a :class:`CompletedProcess` instance.