[Python-checkins] Fix reference to exceptions in multprocessing docs. (GH-6647)
Serhiy Storchaka
webhook-mailer at python.org
Mon Apr 30 01:29:28 EDT 2018
https://github.com/python/cpython/commit/07c3a612c7c17f96bad56f450c0168a5b7dde61c
commit: 07c3a612c7c17f96bad56f450c0168a5b7dde61c
branch: 2.7
author: Bo Bayles <bbayles at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-04-30T08:29:24+03:00
summary:
Fix reference to exceptions in multprocessing docs. (GH-6647)
files:
M Doc/library/multiprocessing.rst
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 97a7b536670e..81c46c0b637b 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -2050,11 +2050,24 @@ authentication* using the :mod:`hmac` module.
unavailable then it is ``None``.
-The module defines two exceptions:
+The module defines the following exceptions:
+
+.. exception:: ProcessError
+
+ The base class of all :mod:`multiprocessing` exceptions.
+
+.. exception:: BufferTooShort
+
+ Exception raised by :meth:`Connection.recv_bytes_into()` when the supplied
+ buffer object is too small for the message read.
.. exception:: AuthenticationError
- Exception raised when there is an authentication error.
+ Raised when there is an authentication error.
+
+.. exception:: TimeoutError
+
+ Raised by methods with a timeout when the timeout expires.
**Examples**
More information about the Python-checkins
mailing list