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

lib/sqlalchemy/orm/session.py

index 5cf31da0f789df640d9d6b13484fc1f679361236..ac495f321863392f82f250236ef5debc45ed54b9 100644 (file)
@@ -3060,7 +3060,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