diff options
-rw-r--r-- | asyncio/queues.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asyncio/queues.py b/asyncio/queues.py index 37b0c41..b0fb387 100644 --- a/asyncio/queues.py +++ b/asyncio/queues.py @@ -240,8 +240,8 @@ class Queue: """Block until all items in the queue have been gotten and processed. The count of unfinished tasks goes up whenever an item is added to the - queue. The count goes down whenever a consumer thread calls task_done() - to indicate that the item was retrieved and all work on it is complete. + queue. The count goes down whenever a consumer calls task_done() to + indicate that the item was retrieved and all work on it is complete. When the count of unfinished tasks drops to zero, join() unblocks. """ if self._unfinished_tasks > 0: |