summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlam <3lnc.slam@gmail.com>2019-01-17 11:52:17 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-01-17 11:52:17 (GMT)
commit97e12996f31f6ada4173e2cd4b6807c98ba379a4 (patch)
tree28b1bd164942a4c2e0cea6c78aea9644bd3e2de3
parentcee29b46a19116261b083dc803217aa754c7df40 (diff)
downloadcpython-97e12996f31f6ada4173e2cd4b6807c98ba379a4.zip
cpython-97e12996f31f6ada4173e2cd4b6807c98ba379a4.tar.gz
cpython-97e12996f31f6ada4173e2cd4b6807c98ba379a4.tar.bz2
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.
-rw-r--r--Doc/library/asyncio-queue.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst
index bd0e70c..7be1023 100644
--- a/Doc/library/asyncio-queue.rst
+++ b/Doc/library/asyncio-queue.rst
@@ -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.