From ec6314b06320ea3f1af7d68902872556e58c052e Mon Sep 17 00:00:00 2001 From: L0stLink <36127183+L0stLink@users.noreply.github.com> Date: Sat, 2 Nov 2019 15:09:03 +0500 Subject: [PATCH] fixed typo in session.py in line 3063 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py index f050f3631f..971bc27862 100644 --- a/lib/sqlalchemy/orm/session.py +++ b/lib/sqlalchemy/orm/session.py @@ -3025,7 +3025,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 -- 2.47.2