mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431)
This commit is contained in:
parent
be095f6c32
commit
195a46d6ff
4 changed files with 9 additions and 24 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue