summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2015-01-23 23:31:27 -0500
committerA. Jesse Jiryu Davis <jesse@mongodb.com>2015-01-23 23:31:27 -0500
commit00ea053512919dd48ea196b27a9590e57fb7eb32 (patch)
tree08c9fd9e453388112c6754edef13e4bc1eb7dc42
parent63efd76c158790c22f102b684e9b055d5679cf72 (diff)
downloadtrollius-remove-joinable-queue.tar.gz
Docstring for Queue.join shouldn't mention threads.remove-joinable-queue
-rw-r--r--asyncio/queues.py4
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: