]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Merge pull request #23 from yoloseem/master
authormike bayer <mike_mp@zzzcomputing.com>
Sun, 25 Aug 2013 16:08:00 +0000 (09:08 -0700)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Aug 2013 16:09:10 +0000 (12:09 -0400)
Fixed two typos.

lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/state.py

index 0f9ea1429cc77469e0f070e2b93e32b92041afe4..bbe5b56c9b705d96683da7ba268cca41785f458c 100644 (file)
@@ -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
index c479d880d87cb7e852498be9b683d201b428547c..2fa954a9d429e954ce427467fd5c68bac94f573c 100644 (file)
@@ -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
 
     """