Skip to content

Commit 07c3a61

Browse files
bbaylesserhiy-storchaka
authored andcommitted
Fix reference to exceptions in multprocessing docs. (GH-6647)
1 parent 0d7d26b commit 07c3a61

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Doc/library/multiprocessing.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,11 +2050,24 @@ authentication* using the :mod:`hmac` module.
20502050
unavailable then it is ``None``.
20512051

20522052

2053-
The module defines two exceptions:
2053+
The module defines the following exceptions:
2054+
2055+
.. exception:: ProcessError
2056+
2057+
The base class of all :mod:`multiprocessing` exceptions.
2058+
2059+
.. exception:: BufferTooShort
2060+
2061+
Exception raised by :meth:`Connection.recv_bytes_into()` when the supplied
2062+
buffer object is too small for the message read.
20542063

20552064
.. exception:: AuthenticationError
20562065

2057-
Exception raised when there is an authentication error.
2066+
Raised when there is an authentication error.
2067+
2068+
.. exception:: TimeoutError
2069+
2070+
Raised by methods with a timeout when the timeout expires.
20582071

20592072

20602073
**Examples**

0 commit comments

Comments
 (0)