From 983be101111fb875e841c2946e10e275f5e8a4cd Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 29 Jun 2018 21:51:25 -0400 Subject: [PATCH] Fix __aiter__ compatibility with 3.7. --- discord/iterators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/iterators.py b/discord/iterators.py index 4e57faa72..bf0077be0 100644 --- a/discord/iterators.py +++ b/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):