]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Small tutorial rewording 8809/head
authorAndy Garfield <andyjgarfield@gmail.com>
Tue, 15 Nov 2022 16:28:58 +0000 (11:28 -0500)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2022 16:28:58 +0000 (11:28 -0500)
The language is this sentence took me a few reads to understand. This is just a rewording.

doc/build/tutorial/dbapi_transactions.rst

index 00178936b0b4e575aeff2a3715d661381db5ae97..d40aaf5b8deb4fb9817c02dffc9a03b54f7e41b0 100644 (file)
@@ -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`