gh-146544: Fix asyncio.Queue docstring ambiguity (#146545)

This commit is contained in:
Jonathan Dung
2026-03-28 19:05:45 +08:00
committed by GitHub
parent 3ff582238f
commit 578d726d46
+1 -1
View 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.
"""