diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2013-08-25 09:08:00 -0700 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-25 12:09:10 -0400 |
| commit | 9fa0088d438c0abed6027779990f8878c2ceecc4 (patch) | |
| tree | b5d4b3e221d7fe71f1d57440f042ac7ba4989ddb /lib/sqlalchemy/orm | |
| parent | 58617ff5ff2facafdc6d17f7115a338daf878629 (diff) | |
| download | sqlalchemy-9fa0088d438c0abed6027779990f8878c2ceecc4.tar.gz | |
Merge pull request #23 from yoloseem/master
Fixed two typos.
Diffstat (limited to 'lib/sqlalchemy/orm')
| -rw-r--r-- | lib/sqlalchemy/orm/mapper.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/orm/state.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index 0f9ea1429..bbe5b56c9 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -1486,7 +1486,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 c479d880d..2fa954a9d 100644 --- a/lib/sqlalchemy/orm/state.py +++ b/lib/sqlalchemy/orm/state.py @@ -527,13 +527,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 """ |
