]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify `multiprocessing.Queue.get_nowait()` documentation (#150863)
authorJack Harper <harps912@gmail.com>
Tue, 23 Jun 2026 11:29:20 +0000 (12:29 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2026 11:29:20 +0000 (12:29 +0100)
Doc/library/queue.rst

index f5326aff7236bd696a7af1169162bd366952c539..79da2a3db719e78e05120f955e172bc98af80127 100644 (file)
@@ -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.