summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/queues.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-02-21 11:25:52 (GMT)
committerGitHub <noreply@github.com>2022-02-21 11:25:52 (GMT)
commit195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca (patch)
tree674e5028c65e8dd3b63866774e32405914e3e573 /Lib/asyncio/queues.py
parentbe095f6c32188bba02079d086ac8639ea37cec3c (diff)
downloadcpython-195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca.zip
cpython-195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca.tar.gz
cpython-195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca.tar.bz2
bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431)
Diffstat (limited to 'Lib/asyncio/queues.py')
-rw-r--r--Lib/asyncio/queues.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py
index 10dd689..a9656a6 100644
--- a/Lib/asyncio/queues.py
+++ b/Lib/asyncio/queues.py
@@ -30,8 +30,7 @@ class Queue(mixins._LoopBoundMixin):
interrupted between calling qsize() and doing an operation on the Queue.
"""
- def __init__(self, maxsize=0, *, loop=mixins._marker):
- super().__init__(loop=loop)
+ def __init__(self, maxsize=0):
self._maxsize = maxsize
# Futures.