]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-87801: Add run() to subprocess.CalledProcessError description (#91628)
authorslateny <46876382+slateny@users.noreply.github.com>
Sat, 30 Apr 2022 21:32:00 +0000 (14:32 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 21:32:00 +0000 (15:32 -0600)
Doc/library/subprocess.rst

index 6a334acc5a17cc5dcf417a905b49855c118fa229..1e619a51e216ac812cca48bdf9520d06a6cef129 100644 (file)
@@ -214,7 +214,9 @@ compatibility with older versions, see the :ref:`call-function-trio` section.
 .. exception:: CalledProcessError
 
     Subclass of :exc:`SubprocessError`, raised when a process run by
-    :func:`check_call` or :func:`check_output` returns a non-zero exit status.
+    :func:`check_call`, :func:`check_output`, or :func:`run` (with ``check=True``)
+    returns a non-zero exit status.
+
 
     .. attribute:: returncode