From 31acba8ff7c123a20ae308b7f4ab6df3df264b48 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sun, 21 Nov 2021 21:17:27 +0100 Subject: Clean up most py3k compat Change-Id: I8172fdcc3103ff92aa049827728484c8779af6b7 --- lib/sqlalchemy/ext/asyncio/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/ext/asyncio/session.py') diff --git a/lib/sqlalchemy/ext/asyncio/session.py b/lib/sqlalchemy/ext/asyncio/session.py index d2c969056..89da4b497 100644 --- a/lib/sqlalchemy/ext/asyncio/session.py +++ b/lib/sqlalchemy/ext/asyncio/session.py @@ -540,7 +540,7 @@ class AsyncSession(ReversibleProxy): await self.close() def _maker_context_manager(self): - # no @contextlib.asynccontextmanager until python3.7, gr + # TODO: can this use asynccontextmanager ?? return _AsyncSessionContextManager(self) -- cgit v1.2.1