[Python-checkins] Fixes typo in asyncio.queue doc (GH-11581)

Miss Islington (bot) webhook-mailer at python.org
Thu Jan 17 06:58:41 EST 2019


https://github.com/python/cpython/commit/6d84071514346efd5eddee1a2963e7ea25ceb901
commit: 6d84071514346efd5eddee1a2963e7ea25ceb901
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-01-17T03:58:37-08:00
summary:

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 97e12996f31f6ada4173e2cd4b6807c98ba379a4)

Co-authored-by: Slam <3lnc.slam at gmail.com>

files:
M Doc/library/asyncio-queue.rst

diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst
index bd0e70c0d9fc..7be1023c80cc 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.



More information about the Python-checkins mailing list