From 63c1b1e1d78b9a16a6b2505d878cfb802116b112 Mon Sep 17 00:00:00 2001 From: Askaholic Date: Sat, 18 May 2019 11:16:22 -0800 Subject: [PATCH] Fix __aiter__. This breaks compatibility with python < 3.5.2 --- aiomysql/sa/result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiomysql/sa/result.py b/aiomysql/sa/result.py index faeaff56..f34d3ff9 100644 --- a/aiomysql/sa/result.py +++ b/aiomysql/sa/result.py @@ -447,7 +447,7 @@ async def scalar(self): else: return None - async def __aiter__(self): + def __aiter__(self): return self async def __anext__(self):