From 801f67c1af1548bca30703af9f5baecaee9e3f0a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 28 Mar 2026 15:11:29 +0100 Subject: [PATCH] [3.14] gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545) (#146567) gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545) (cherry picked from commit 578d726d467dee14abe52a7790aca36e4cb9f70c) Co-authored-by: Jonathan Dung --- Lib/asyncio/queues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index 084fccaaff2f..756216fac809 100644 --- a/Lib/asyncio/queues.py +++ b/Lib/asyncio/queues.py @@ -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. """ -- 2.47.3