From 5fefd9c00353f1c318d8f290e7806999518dbaa8 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Thu, 13 Jun 2024 11:40:09 -0700 Subject: [PATCH] Simplify and clarify the doc wording. further doc simplification to alleviate confusion. --- Doc/library/multiprocessing.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index a172ace986b271..426291c5f0743d 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -837,7 +837,7 @@ For an example of the usage of queues for interprocess communication see Return ``True`` if the queue is empty, ``False`` otherwise. Because of multithreading/multiprocessing semantics, this is not reliable. - May raise an :exc:`OSError` on closed queues. + May raise an :exc:`OSError` on closed queues. (not guaranteed) .. method:: full() @@ -942,8 +942,7 @@ For an example of the usage of queues for interprocess communication see Return ``True`` if the queue is empty, ``False`` otherwise. - Unlike :meth:`Queue.empty`, if the queue is closed and this - method is called, this raises an :exc:`OSError`. + Always raises an :exc:`OSError` if the SimpleQueue is closed. .. method:: get()