Skip to content

Commit 4d14799

Browse files
committed
Update the docstring
1 parent 2c20579 commit 4d14799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ def shutdown(self, immediate=False):
240240
'immediate' to True to make gets raise immediately instead.
241241
242242
All blocked callers of put() and get() will be unblocked. If
243-
'immediate', a task is marked as done for each item remaining in
244-
the queue, which may unblock callers of join().
243+
'immediate', callers of join() are unblocked regardless of
244+
the number of unfinished tasks.
245245
'''
246246
with self.mutex:
247247
self.is_shutdown = True

0 commit comments

Comments
 (0)