Skip to content

Commit 9ea054d

Browse files
committed
gh-147965: Add shutdown() to multiprocessing.Queue excluded methods
The multiprocessing.Queue documentation states it implements all methods of queue.Queue except task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, multiprocessing.Queue also does not implement it. Update the docs to include shutdown() in the list of excluded methods.
1 parent 08c5d3d commit 9ea054d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/multiprocessing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,8 @@ For an example of the usage of queues for interprocess communication see
932932
standard library's :mod:`queue` module are raised to signal timeouts.
933933

934934
:class:`Queue` implements all the methods of :class:`queue.Queue` except for
935-
:meth:`~queue.Queue.task_done` and :meth:`~queue.Queue.join`.
935+
:meth:`~queue.Queue.task_done`, :meth:`~queue.Queue.join`, and
936+
:meth:`~queue.Queue.shutdown`.
936937

937938
.. method:: qsize()
938939

0 commit comments

Comments
 (0)