]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixed typo in session.py in line 3063
authorL0stLink <36127183+L0stLink@users.noreply.github.com>
Sat, 2 Nov 2019 10:09:03 +0000 (15:09 +0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Nov 2019 18:53:16 +0000 (13:53 -0500)
Changed : wish to detect is a "rollback" is
 to : wish to detect if a "rollback" is
, improving clarity.

(cherry picked from commit 7f260c95d65f9bb77e4e0bbb8ef78f57b183fc7c)

lib/sqlalchemy/orm/session.py

index f5152397561c9d4718a207f53492a42b2381e07f..4ffb5e5ff1fb9b0c202c3182d2fcebf69d5ccddd 100644 (file)
@@ -2772,7 +2772,7 @@ class Session(_SessionClassMethods):
         "partial rollback" state.
 
         From all the above, it follows that the only purpose to this flag is
-        for application frameworks that wish to detect is a "rollback" is
+        for application frameworks that wish to detect if a "rollback" is
         necessary within a generic error handling routine, for
         :class:`.Session` objects that would otherwise be in
         "partial rollback" mode.  In a typical integration case, this is also