Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97e1299

Browse files
0bsearchmiss-islington
authored andcommitted
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.
1 parent cee29b4 commit 97e1299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)