Skip to content

Commit

Permalink
Fix __aiter__. This breaks compatibility with python < 3.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Askaholic committed May 18, 2019
1 parent 131fb9f commit 63c1b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiomysql/sa/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ async def scalar(self):
else:
return None

async def __aiter__(self):
def __aiter__(self):
return self

async def __anext__(self):
Expand Down

0 comments on commit 63c1b1e

Please sign in to comment.