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
commitdc19c32eb65881e18d15e7e357bda881700542d6 (patch)
tree08c9fd9e453388112c6754edef13e4bc1eb7dc42
parenta4aa7c1e86fe288b7786c2afe8c64e1775cb2382 (diff)
downloadtrollius-git-dc19c32eb65881e18d15e7e357bda881700542d6.tar.gz
Docstring for Queue.join shouldn't mention threads.
-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: