Skip to content

Commit

Permalink
Simplify and clarify the doc wording.
Browse files Browse the repository at this point in the history
further doc simplification to alleviate confusion.
  • Loading branch information
gpshead authored Jun 13, 2024
1 parent 5bd3f12 commit 5fefd9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 5fefd9c

Please sign in to comment.