From 00ea053512919dd48ea196b27a9590e57fb7eb32 Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Fri, 23 Jan 2015 23:31:27 -0500 Subject: Docstring for Queue.join shouldn't mention threads. --- asyncio/queues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asyncio/queues.py') 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: -- cgit v1.2.1