aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-06-29 21:51:25 -0400
committerRapptz <[email protected]>2018-06-29 21:51:25 -0400
commit983be101111fb875e841c2946e10e275f5e8a4cd (patch)
treeaa789a8050c3e3e786a0f14124f1e0fe4c45074f
parentChange jump_to_url to jump_url and fix format. (diff)
downloaddiscord.py-983be101111fb875e841c2946e10e275f5e8a4cd.tar.xz
discord.py-983be101111fb875e841c2946e10e275f5e8a4cd.zip
Fix __aiter__ compatibility with 3.7.
-rw-r--r--discord/iterators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/iterators.py b/discord/iterators.py
index 4e57faa7..bf0077be 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):