gh-87801: Add run() to subprocess.CalledProcessError description (#91628)

This commit is contained in:
slateny 2022-04-30 14:32:00 -07:00 committed by GitHub
parent d7eb1ffbe8
commit 567be058b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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