Browse Source

Fix __aiter__ compatibility with 3.7.

pull/1382/merge
Rapptz 7 years ago
parent
commit
983be10111
  1. 2
      discord/iterators.py

2
discord/iterators.py

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

Loading…
Cancel
Save