diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2015-01-23 23:31:27 -0500 |
---|---|---|
committer | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2015-01-23 23:31:27 -0500 |
commit | 00ea053512919dd48ea196b27a9590e57fb7eb32 (patch) | |
tree | 08c9fd9e453388112c6754edef13e4bc1eb7dc42 /asyncio/queues.py | |
parent | 63efd76c158790c22f102b684e9b055d5679cf72 (diff) | |
download | trollius-remove-joinable-queue.tar.gz |
Docstring for Queue.join shouldn't mention threads.remove-joinable-queue
Diffstat (limited to 'asyncio/queues.py')
-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: |