Fix __aiter__ compatibility with 3.7.

This commit is contained in:
Rapptz 2018-06-29 21:51:25 -04:00
parent 1538c78836
commit 983be10111

View File

@ -77,7 +77,7 @@ class _AsyncIterator:
else:
ret.append(item)
async def __aiter__(self):
def __aiter__(self):
return self
async def __anext__(self):