]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Make flush logic slightly clearer in tutorial.
authorFeanil Patel <feanil@edx.org>
Sun, 23 Jul 2017 13:17:39 +0000 (09:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Jul 2017 16:43:07 +0000 (12:43 -0400)
Improve the wording of how sessions commit changes.
(cherry picked from commit c9b37f9689dca784a0a5d932cd8f0cd133c436cc)

doc/build/orm/tutorial.rst

index 83c1a2ab3cff871c4f8f27e2e39a60bcaf234a7d..6702deb085c7b364420f4851c90d57ef0ff11721 100644 (file)
@@ -456,7 +456,7 @@ three new ``User`` objects we've added:
     ('fred', 'Fred Flinstone', 'blah')
     COMMIT
 
-:meth:`~.Session.commit` flushes whatever remaining changes remain to the
+:meth:`~.Session.commit` flushes the remaining changes to the
 database, and commits the transaction. The connection resources referenced by
 the session are now returned to the connection pool. Subsequent operations
 with this session will occur in a **new** transaction, which will again