summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/deprecated_interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/deprecated_interfaces.py')
-rw-r--r--lib/sqlalchemy/orm/deprecated_interfaces.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/deprecated_interfaces.py b/lib/sqlalchemy/orm/deprecated_interfaces.py
index 135664469..9ebf9a57e 100644
--- a/lib/sqlalchemy/orm/deprecated_interfaces.py
+++ b/lib/sqlalchemy/orm/deprecated_interfaces.py
@@ -423,13 +423,13 @@ class SessionExtension(object):
transaction is ongoing."""
def after_commit(self, session):
- """Execute after a commit has occured.
+ """Execute after a commit has occurred.
Note that this may not be per-flush if a longer running
transaction is ongoing."""
def after_rollback(self, session):
- """Execute after a rollback has occured.
+ """Execute after a rollback has occurred.
Note that this may not be per-flush if a longer running
transaction is ongoing."""
@@ -454,7 +454,7 @@ class SessionExtension(object):
This will be when the 'new', 'dirty', and 'deleted' lists are in
their final state. An actual commit() may or may not have
- occured, depending on whether or not the flush started its own
+ occurred, depending on whether or not the flush started its own
transaction or participated in a larger transaction. """
def after_begin( self, session, transaction, connection):