From f260d5b37133b8dab0094ed560e733134eade7a4 Mon Sep 17 00:00:00 2001 From: markwh1te Date: Tue, 20 Nov 2018 14:18:14 +0800 Subject: [PATCH] fix the python 3.7 compatibility --- aiomysql/cursors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiomysql/cursors.py b/aiomysql/cursors.py index 059abc85..267bd680 100644 --- a/aiomysql/cursors.py +++ b/aiomysql/cursors.py @@ -497,7 +497,7 @@ async def _show_warnings(self, conn): ProgrammingError = ProgrammingError NotSupportedError = NotSupportedError - async def __aiter__(self): + def __aiter__(self): return self async def __anext__(self):