From: Andy Garfield Date: Tue, 15 Nov 2022 16:28:58 +0000 (-0500) Subject: Small tutorial rewording X-Git-Tag: rel_2_0_0b4~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8809%2Fhead;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Small tutorial rewording The language is this sentence took me a few reads to understand. This is just a rewording. --- 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`