summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/subprocess.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 6a334ac..1e619a5 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -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