mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
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.
This commit is contained in:
parent
cee29b46a1
commit
97e12996f3
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ Queue
|
|||
Block until all items in the queue have been received 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
|
||||
to the queue. The count goes down whenever a consumer coroutine calls
|
||||
:meth:`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, :meth:`join` unblocks.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue