From 36954a3dbb3a528d81c24db6b8698ba1e48d7cb2 Mon Sep 17 00:00:00 2001 From: Andy Garfield Date: Tue, 15 Nov 2022 11:28:58 -0500 Subject: [PATCH] Small tutorial rewording The language is this sentence took me a few reads to understand. This is just a rewording. --- doc/build/tutorial/dbapi_transactions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/tutorial/dbapi_transactions.rst b/doc/build/tutorial/dbapi_transactions.rst index 00178936b0..d40aaf5b8d 100644 --- a/doc/build/tutorial/dbapi_transactions.rst +++ b/doc/build/tutorial/dbapi_transactions.rst @@ -479,7 +479,7 @@ the block with a "commit as you go" commit. .. tip:: The :class:`_orm.Session` doesn't actually hold onto the :class:`_engine.Connection` object after it ends the transaction. It gets a new :class:`_engine.Connection` from the :class:`_engine.Engine` - when executing SQL against the database is next needed. + the next time it needs to execute SQL against the database. The :class:`_orm.Session` obviously has a lot more tricks up its sleeve than that, however understanding that it has a :meth:`_orm.Session.execute` -- 2.47.2