]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-146544: Fix `asyncio.Queue` docstring ambiguity (#146545)
authorJonathan Dung <jonathandung@yahoo.com>
Sat, 28 Mar 2026 11:05:45 +0000 (19:05 +0800)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2026 11:05:45 +0000 (16:35 +0530)
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.
     """