Skip to content

Commit dc762d7

Browse files
committed
Clarify adjustment to unfinished tasks
1 parent cfd65b8 commit dc762d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/queue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ or terminated immediately.
258258

259259
If *immediate* is true, the queue is terminated immediately.
260260
The queue is drained to be completely empty. The count of
261-
unfinished tasks is reduced to zero but without calling
261+
unfinished tasks is reduced by number drained but without calling
262262
:meth:`~Queue.task_done`. That then unblocks all callers of
263263
:meth:`~Queue.join`. In addition, blocked callers of
264264
:meth:`~Queue.get` are unblocked and will raise :exc:`ShutDown`.

0 commit comments

Comments
 (0)