Skip to content

Commit

Permalink
Fixes typo in asyncio.queue doc (GH-11581)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
0bsearch authored and miss-islington committed Jan 17, 2019
1 parent cee29b4 commit 97e1299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/asyncio-queue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 97e1299

Please sign in to comment.