From: Bo Bayles Date: Mon, 30 Apr 2018 05:29:24 +0000 (-0500) Subject: Fix reference to exceptions in multprocessing docs. (GH-6647) X-Git-Tag: v2.7.16rc1~315 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c3a612c7c17f96bad56f450c0168a5b7dde61c;p=thirdparty%2FPython%2Fcpython.git Fix reference to exceptions in multprocessing docs. (GH-6647) --- 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**