https://github.com/python/cpython/commit/2ac16110470bd8dc0394a42fd30cfb99fa58f5d4
commit: 2ac16110470bd8dc0394a42fd30cfb99fa58f5d4
branch: main
author: Jack Harper <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-06-23T12:29:20+01:00
summary:

Clarify `multiprocessing.Queue.get_nowait()` documentation (#150863)

files:
M Doc/library/queue.rst

diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index f5326aff7236bd..79da2a3db719e7 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -173,7 +173,7 @@ provide the public methods described below.
 
 .. method:: Queue.get_nowait()
 
-   Equivalent to ``get(False)``.
+   Equivalent to ``get(block=False)``.
 
 Two methods are offered to support tracking whether enqueued tasks have been
 fully processed by daemon consumer threads.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to