]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix typos
authorHyunjun Kim <kim@hyunjun.kr>
Sat, 24 Aug 2013 16:59:47 +0000 (01:59 +0900)
committerHyunjun Kim <kim@hyunjun.kr>
Sat, 24 Aug 2013 20:06:14 +0000 (05:06 +0900)
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/state.py

index 2d7e7b3cf1c4b7cdcc8bc3d2a9ee5a631759193d..fc80c44043555dd64d5a27a30d0b6940958549dc 100644 (file)
@@ -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
index 7805a47e4774d81783644ac565bafe3c5c87b153..35305dc7967323f751c607c93aa0439ea0bb74ee 100644 (file)
@@ -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
 
     """