From bbb3dad734d7e261c5b9cf32c83735a0b1af2429 Mon Sep 17 00:00:00 2001 From: ishak Date: Fri, 3 Apr 2026 14:33:29 +0200 Subject: [PATCH] Docs: mention that multiprocessing.Queue lacks shutdown() --- Doc/library/multiprocessing.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 2b67d10d7bf1b7..2e402eff97d4a1 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -921,6 +921,10 @@ For an example of the usage of queues for interprocess communication see .. class:: Queue([maxsize]) + .. note:: + Unlike :class:`queue.Queue`, :class:`multiprocessing.Queue` does not + implement the :meth:`~queue.Queue.shutdown` method. + Returns a process shared queue implemented using a pipe and a few locks/semaphores. When a process first puts an item on the queue a feeder thread is started which transfers objects from a buffer into the pipe.