Fix __aiter__ compatibility with 3.7.
This commit is contained in:
parent
1538c78836
commit
983be10111
@ -77,7 +77,7 @@ class _AsyncIterator:
|
|||||||
else:
|
else:
|
||||||
ret.append(item)
|
ret.append(item)
|
||||||
|
|
||||||
async def __aiter__(self):
|
def __aiter__(self):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
async def __anext__(self):
|
async def __anext__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user