Add a SubprocessError base class for exceptions in the subprocess module.

This commit is contained in:
Gregory P. Smith 2011-03-14 14:08:43 -04:00
parent 1c711f0ef9
commit 54d412edcc
2 changed files with 14 additions and 4 deletions

View file

@ -387,6 +387,11 @@ All of the functions and methods that accept a *timeout* parameter, such as
:func:`call` and :meth:`Popen.communicate` will raise :exc:`TimeoutExpired` if
the timeout expires before the process exits.
Exceptions defined in this module all inherit from :ext:`SubprocessError`.
.. versionadded:: 3.3
The :exc:`SubprocessError` base class was added.
Security
^^^^^^^^