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
commit159fbdd805e23e54ba7830ec2c492a511a6d8e89 (patch)
tree8f3d34d7303e332510afdf323143a9533d99269e /Lib/asyncio/queues.py
parent86b34da5ef249b865281704a5f6721391edb0c1c (diff)
downloadcpython-git-159fbdd805e23e54ba7830ec2c492a511a6d8e89.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)