summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorslateny <46876382+slateny@users.noreply.github.com>2022-04-14 08:23:57 (GMT)
committerGitHub <noreply@github.com>2022-04-14 08:23:57 (GMT)
commit0fc3517cf46ec79b4681c31916d4081055a7ed09 (patch)
tree29e469d2a54bb22310b53b12c2eee55287fa7ed0 /Lib
parent13b17e2a0a56d506d62a0bf2774e3deb4cbaeb72 (diff)
downloadcpython-0fc3517cf46ec79b4681c31916d4081055a7ed09.zip
cpython-0fc3517cf46ec79b4681c31916d4081055a7ed09.tar.gz
cpython-0fc3517cf46ec79b4681c31916d4081055a7ed09.tar.bz2
gh-90879: Fix missing parameter for put_nowait() (GH-91514)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/queue.py b/Lib/queue.py
index 10dbcbc..55f5008 100644
--- a/Lib/queue.py
+++ b/Lib/queue.py
@@ -298,7 +298,7 @@ class _PySimpleQueue:
def put_nowait(self, item):
'''Put an item into the queue without blocking.
- This is exactly equivalent to `put(item)` and is only provided
+ This is exactly equivalent to `put(item, block=False)` and is only provided
for compatibility with the Queue class.
'''
return self.put(item, block=False)