]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Small tutorial rewording
authorAndy Garfield <andyjgarfield@gmail.com>
Tue, 15 Nov 2022 16:28:58 +0000 (11:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Nov 2022 18:12:47 +0000 (13:12 -0500)
The language is this sentence took me a few reads to understand. This is just a rewording.

(cherry picked from commit 36954a3dbb3a528d81c24db6b8698ba1e48d7cb2)

Change-Id: I3d61653b682035bd616f80ed54c83e959cfb74fc

doc/build/tutorial/dbapi_transactions.rst

index cf93534e4fe12e3dc80479f611787aa56009e544..634b1f6cdcdf8ca0a53ad9424270329f1229da7f 100644 (file)
@@ -474,7 +474,7 @@ the block with a "commit as you go" commit.
 .. tip:: The :class:`_orm.Session` doesn't actually hold onto the
    :class:`_future.Connection` object after it ends the transaction.  It
    gets a new :class:`_future.Connection` from the :class:`_future.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`