diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index c13cb5a445..5b0cbfdad2 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -1950,7 +1950,7 @@ class AttributeEvents(event.Events): and also during replace operations:: - u1.addresess = [a2, a3] # <- new collection + u1.addresses = [a2, a3] # <- new collection :param target: the object instance receiving the event. If the listener is registered with ``raw=True``, this will diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py index f58e4de61d..56513860a9 100644 --- a/lib/sqlalchemy/orm/session.py +++ b/lib/sqlalchemy/orm/session.py @@ -694,7 +694,7 @@ class Session(_SessionClassMethods): def info(self): """A user-modifiable dictionary. - The initial value of this dictioanry can be populated using the + The initial value of this dictionary can be populated using the ``info`` argument to the :class:`.Session` constructor or :class:`.sessionmaker` constructor or factory methods. The dictionary here is always local to this :class:`.Session` and can be modified