From 0fc3517cf46ec79b4681c31916d4081055a7ed09 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Thu, 14 Apr 2022 01:23:57 -0700 Subject: gh-90879: Fix missing parameter for put_nowait() (GH-91514) --- Lib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/queue.py') diff --git a/Lib/queue.py b/Lib/queue.py index 10dbcbc18ec..55f50088460 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) -- cgit v1.2.3