https://github.com/python/cpython/commit/578d726d467dee14abe52a7790aca36e4cb9f70c
commit: 578d726d467dee14abe52a7790aca36e4cb9f70c
branch: main
author: Jonathan Dung <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-03-28T16:35:45+05:30
summary:
gh-146544: Fix `asyncio.Queue` docstring ambiguity (#146545)
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]