Skip to content

Commit 6d84071

Browse files
Fixes typo in asyncio.queue doc (GH-11581)
Typo fix for method doc, I'm pretty sure coro is meant, because there's no consumer threads for thread-unsafe queue. Most probably this piece of doc was copied from `queue.Queue` There's not BPO bug for this, afaik. (cherry picked from commit 97e1299) Co-authored-by: Slam <[email protected]>
1 parent 422db37 commit 6d84071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-queue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Queue
6464
Block until all items in the queue have been received and processed.
6565

6666
The count of unfinished tasks goes up whenever an item is added
67-
to the queue. The count goes down whenever a consumer thread calls
67+
to the queue. The count goes down whenever a consumer coroutine calls
6868
:meth:`task_done` to indicate that the item was retrieved and all
6969
work on it is complete. When the count of unfinished tasks drops
7070
to zero, :meth:`join` unblocks.

0 commit comments

Comments
 (0)