]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545) (#146568)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 28 Mar 2026 11:27:59 +0000 (12:27 +0100)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2026 11:27:59 +0000 (11:27 +0000)
gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545)
(cherry picked from commit 578d726d467dee14abe52a7790aca36e4cb9f70c)

Co-authored-by: Jonathan Dung <jonathandung@yahoo.com>
Lib/asyncio/queues.py

index 084fccaaff2ff7cf7c33d6de230a6048f9836443..756216fac8093290ee24ff608fe16262c8e6b0bc 100644 (file)
@@ -37,7 +37,7 @@ class Queue(mixins._LoopBoundMixin):
     is an integer greater than 0, then "await put()" will block when the
     queue reaches maxsize, until an item is removed by get().
 
-    Unlike the standard library Queue, you can reliably know this Queue's size
+    Unlike queue.Queue, you can reliably know this Queue's size
     with qsize(), since your single-threaded asyncio application won't be
     interrupted between calling qsize() and doing an operation on the Queue.
     """