From b9bd6ffd43a138f0b8964cae0657e478f9b4a13a Mon Sep 17 00:00:00 2001 From: Hyunjun Kim Date: Sun, 25 Aug 2013 01:59:47 +0900 Subject: fix typos --- lib/sqlalchemy/orm/mapper.py | 2 +- lib/sqlalchemy/orm/state.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sqlalchemy') diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index 2d7e7b3cf..fc80c4404 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -1819,7 +1819,7 @@ class Mapper(_InspectionAttr): Normally, this is equivalent to :attr:`.mapped_table`, unless the ``with_polymorphic`` feature is in use, in which case the - full "polymoprhic" selectable is returned. + full "polymorphic" selectable is returned. """ return self._with_polymorphic_selectable diff --git a/lib/sqlalchemy/orm/state.py b/lib/sqlalchemy/orm/state.py index 7805a47e4..35305dc79 100644 --- a/lib/sqlalchemy/orm/state.py +++ b/lib/sqlalchemy/orm/state.py @@ -507,13 +507,13 @@ class AttributeState(object): to a particular attribute on a particular mapped object. The :class:`.AttributeState` object is accessed - via the :attr:`.InstanceState.attr` collection + via the :attr:`.InstanceState.attrs` collection of a particular :class:`.InstanceState`:: from sqlalchemy import inspect insp = inspect(some_mapped_object) - attr_state = insp.attr.some_attribute + attr_state = insp.attrs.some_attribute """ -- cgit v1.2.1