]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixes typo in asyncio.queue doc (GH-11581)
authorSlam <3lnc.slam@gmail.com>
Thu, 17 Jan 2019 11:52:17 +0000 (13:52 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 17 Jan 2019 11:52:17 +0000 (03:52 -0800)
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.

Doc/library/asyncio-queue.rst

index bd0e70c0d9fc5fbb5077086aa091d4f92c849b34..7be1023c80cc66ceb4126b6753cf128061725ad5 100644 (file)
@@ -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.