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

(cherry picked from commit 567be058b4)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-04-30 14:51:45 -07:00 committed by GitHub
parent cfcda0acf2
commit 335aae1950
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