summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeanil Patel <feanil@edx.org>2017-07-23 09:17:39 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-07-24 12:43:07 -0400
commit4d195c5c8fd71bfef4b052de1acc093c47edb7a9 (patch)
tree7c8de0907b0328e9d50f9433f72a8d8c939d5748
parentbd469c5349d49271b25e5e1449b14df65ea1f104 (diff)
downloadsqlalchemy-4d195c5c8fd71bfef4b052de1acc093c47edb7a9.tar.gz
Make flush logic slightly clearer in tutorial.
Improve the wording of how sessions commit changes. (cherry picked from commit c9b37f9689dca784a0a5d932cd8f0cd133c436cc)
-rw-r--r--doc/build/orm/tutorial.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/tutorial.rst b/doc/build/orm/tutorial.rst
index 83c1a2ab3..6702deb08 100644
--- a/doc/build/orm/tutorial.rst
+++ b/doc/build/orm/tutorial.rst
@@ -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