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 4d14799 commit 6740c3fCopy full SHA for 6740c3f
Lib/asyncio/queues.py
@@ -257,8 +257,8 @@ def shutdown(self, immediate=False):
257
'immediate' to True to make gets raise immediately instead.
258
259
All blocked callers of put() and get() will be unblocked. If
260
- 'immediate', a task is marked as done for each item remaining in
261
- the queue, which may unblock callers of join().
+ 'immediate', unblock callers of join() regardless of the
+ number of unfinished tasks.
262
"""
263
self._is_shutdown = True
264
if immediate:
0 commit comments