summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-03-14 18:08:43 (GMT)
committerGregory P. Smith <greg@krypto.org>2011-03-14 18:08:43 (GMT)
commit54d412edcc940560a47a581981d0010f9c3504cb (patch)
tree88e0dae05013ade108e8607d68bc2236a1b13c66 /Doc/library
parent1c711f0ef9621cee1b898f0d07d06377921c79e6 (diff)
downloadcpython-54d412edcc940560a47a581981d0010f9c3504cb.zip
cpython-54d412edcc940560a47a581981d0010f9c3504cb.tar.gz
cpython-54d412edcc940560a47a581981d0010f9c3504cb.tar.bz2
Add a SubprocessError base class for exceptions in the subprocess module.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/subprocess.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index bb6e68b..6ea3c10 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -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
^^^^^^^^