]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix reference to exceptions in multprocessing docs. (GH-6647)
authorBo Bayles <bbayles@gmail.com>
Mon, 30 Apr 2018 05:29:24 +0000 (00:29 -0500)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 30 Apr 2018 05:29:24 +0000 (08:29 +0300)
Doc/library/multiprocessing.rst

index 97a7b536670ea6cd72aea6dd3184868d124d6256..81c46c0b637bc44334df804a42df094ab7fa6e83 100644 (file)
@@ -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**