diff options
| -rw-r--r-- | doc/build/dialects/postgresql.rst | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/orm/events.py | 2 | ||||
| -rw-r--r-- | test/engine/test_transaction.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/build/dialects/postgresql.rst b/doc/build/dialects/postgresql.rst index 15b1fff9f..bde90c6bf 100644 --- a/doc/build/dialects/postgresql.rst +++ b/doc/build/dialects/postgresql.rst @@ -94,7 +94,7 @@ construction arguments, are as follows: Range Types ~~~~~~~~~~~ -The new range column types founds in PostgreSQL 9.2 onwards are +The new range column types found in PostgreSQL 9.2 onwards are catered for by the following types: .. autoclass:: INT4RANGE diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index e64cb8c92..2656abfca 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -1315,7 +1315,7 @@ class SessionEvents(event.Events): .. note:: - The :class:`.Session` is not in an active tranasction + The :class:`.Session` is not in an active transaction when the :meth:`~.SessionEvents.after_commit` event is invoked, and therefore can not emit SQL. To emit SQL corresponding to every transaction, use the :meth:`~.SessionEvents.before_commit` event. diff --git a/test/engine/test_transaction.py b/test/engine/test_transaction.py index ee626a50e..f9744444d 100644 --- a/test/engine/test_transaction.py +++ b/test/engine/test_transaction.py @@ -956,7 +956,7 @@ class TLTransactionTest(fixtures.TestBase): def test_mixed_nesting(self): """tests nesting of transactions off the TLEngine directly - inside of tranasctions off the connection from the TLEngine""" + inside of transactions off the connection from the TLEngine""" external_connection = tlengine.connect() self.assert_(external_connection.connection @@ -988,7 +988,7 @@ class TLTransactionTest(fixtures.TestBase): def test_more_mixed_nesting(self): """tests nesting of transactions off the connection from the - TLEngine inside of tranasctions off thbe TLEngine directly.""" + TLEngine inside of transactions off the TLEngine directly.""" external_connection = tlengine.connect() self.assert_(external_connection.connection |
