Fix reference to exceptions in multprocessing docs. (GH-6647)
https://github.com/python/cpython/commit/07c3a612c7c17f96bad56f450c0168a5b7d... commit: 07c3a612c7c17f96bad56f450c0168a5b7dde61c branch: 2.7 author: Bo Bayles <bbayles@gmail.com> committer: Serhiy Storchaka <storchaka@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**
participants (1)
-
Serhiy Storchaka