summaryrefslogtreecommitdiff
path: root/Lib/asyncio/queues.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-06 14:03:38 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-08-06 14:03:38 -0400
commit9a89ec7c43fca34d4d7ff7f9fb3166c7cd4185e4 (patch)
tree3f4555ba1dad9417c1a548b0290e80262c283c5b /Lib/asyncio/queues.py
parent37d246489eda0d88266e8e35adf491a747f7aa08 (diff)
downloadcpython-9a89ec7c43fca34d4d7ff7f9fb3166c7cd4185e4.tar.gz
Issue #23812: Fix getter-cancellation with many pending getters code path
Diffstat (limited to 'Lib/asyncio/queues.py')
-rw-r--r--Lib/asyncio/queues.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py
index b26edfbe4f..021043d6be 100644
--- a/Lib/asyncio/queues.py
+++ b/Lib/asyncio/queues.py
@@ -228,7 +228,7 @@ class Queue:
'queue non-empty, why are getters waiting?')
getter = self._getters.popleft()
- self._put_internal(item)
+ self.__put_internal(item)
# getter cannot be cancelled, we just removed done getters
getter.set_result(item)