diff options
Diffstat (limited to 'lib/sqlalchemy/orm/session.py')
-rw-r--r-- | lib/sqlalchemy/orm/session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py index eb148bc78..baf3b6d42 100644 --- a/lib/sqlalchemy/orm/session.py +++ b/lib/sqlalchemy/orm/session.py @@ -961,7 +961,7 @@ class Session(object): To expire individual objects and individual attributes on those objects, use :meth:`Session.expire`. - The :class:`Session` object's default behavior is to + The :class:`.Session` object's default behavior is to expire all state whenever the :meth:`Session.rollback` or :meth:`Session.commit` methods are called, so that new state can be loaded for the new transaction. For this reason, @@ -986,7 +986,7 @@ class Session(object): To expire all objects in the :class:`.Session` simultaneously, use :meth:`Session.expire_all`. - The :class:`Session` object's default behavior is to + The :class:`.Session` object's default behavior is to expire all state whenever the :meth:`Session.rollback` or :meth:`Session.commit` methods are called, so that new state can be loaded for the new transaction. For this reason, |