summaryrefslogtreecommitdiffstats
path: root/Doc/library/queue.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/queue.rst')
-rw-r--r--Doc/library/queue.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index cbf27d2..540dde9 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -138,7 +138,7 @@ provide the public methods described below.
.. method:: Queue.put_nowait(item)
- Equivalent to ``put(item, False)``.
+ Equivalent to ``put(item, block=False)``.
.. method:: Queue.get(block=True, timeout=None)
@@ -248,7 +248,7 @@ SimpleQueue Objects
.. method:: SimpleQueue.put_nowait(item)
- Equivalent to ``put(item)``, provided for compatibility with
+ Equivalent to ``put(item, block=False)``, provided for compatibility with
:meth:`Queue.put_nowait`.