summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunjun Kim <kim@hyunjun.kr>2013-08-25 01:59:47 +0900
committerHyunjun Kim <kim@hyunjun.kr>2013-08-25 05:06:14 +0900
commitb9bd6ffd43a138f0b8964cae0657e478f9b4a13a (patch)
treed6c93d70f14cb3da26084bce635e4c95c085b795
parent460b23731cba29d319f0e9a3bc5b6df518c9df73 (diff)
downloadsqlalchemy-pr/23.tar.gz
fix typospr/23
-rw-r--r--lib/sqlalchemy/orm/mapper.py2
-rw-r--r--lib/sqlalchemy/orm/state.py4
2 files changed, 3 insertions, 3 deletions
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
"""