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 cfd65b8 commit dc762d7Copy full SHA for dc762d7
Doc/library/queue.rst
@@ -258,7 +258,7 @@ or terminated immediately.
258
259
If *immediate* is true, the queue is terminated immediately.
260
The queue is drained to be completely empty. The count of
261
- unfinished tasks is reduced to zero but without calling
+ unfinished tasks is reduced by number drained but without calling
262
:meth:`~Queue.task_done`. That then unblocks all callers of
263
:meth:`~Queue.join`. In addition, blocked callers of
264
:meth:`~Queue.get` are unblocked and will raise :exc:`ShutDown`.
0 commit comments