]> 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:02 +0000 (12:43 -0400)
Improve the wording of how sessions commit changes.
(cherry picked from commit c9b37f9689dca784a0a5d932cd8f0cd133c436cc)

doc/build/orm/tutorial.rst

index f089b650f44be14e11bd5e6e81eb8f171fa9632c..e2e23fbb81358e1a25c369f8d8a758c6470aad6c 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