diff options
author | slateny <46876382+slateny@users.noreply.github.com> | 2022-04-30 21:32:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-30 21:32:00 (GMT) |
commit | 567be058b403db9689af45bf831d4c732c8b1105 (patch) | |
tree | 0bf822481d93806010e9646b654ec0b9720c4f5a /Doc | |
parent | d7eb1ffbe8f913693e4c9ffa1b32edccac987ab6 (diff) | |
download | cpython-567be058b403db9689af45bf831d4c732c8b1105.zip cpython-567be058b403db9689af45bf831d4c732c8b1105.tar.gz cpython-567be058b403db9689af45bf831d4c732c8b1105.tar.bz2 |
gh-87801: Add run() to subprocess.CalledProcessError description (#91628)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/subprocess.rst | 4 |
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 |