https://github.com/python/cpython/commit/d0991b1e0f6b99d22e29d54276ddce2b3762617c commit: d0991b1e0f6b99d22e29d54276ddce2b3762617c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2026-03-28T11:27:59Z summary:
[3.13] gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545) (#146568) gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545) (cherry picked from commit 578d726d467dee14abe52a7790aca36e4cb9f70c) Co-authored-by: Jonathan Dung <[email protected]> files: M Lib/asyncio/queues.py diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index 084fccaaff2ff7..756216fac80932 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. """ _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
