We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c20579 commit 4d14799Copy full SHA for 4d14799
Lib/queue.py
@@ -240,8 +240,8 @@ def shutdown(self, immediate=False):
240
'immediate' to True to make gets raise immediately instead.
241
242
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().
+ 'immediate', callers of join() are unblocked regardless of
+ the number of unfinished tasks.
245
'''
246
with self.mutex:
247
self.is_shutdown = True
0 commit comments