Skip to content

Commit b3aa038

Browse files
committed
Merge pull request zzzeek#23 from yoloseem/master
Fixed two typos.
2 parents e9b2e33 + b9bd6ff commit b3aa038

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/sqlalchemy/orm/mapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ def selectable(self):
18191819
18201820
Normally, this is equivalent to :attr:`.mapped_table`, unless
18211821
the ``with_polymorphic`` feature is in use, in which case the
1822-
full "polymoprhic" selectable is returned.
1822+
full "polymorphic" selectable is returned.
18231823
18241824
"""
18251825
return self._with_polymorphic_selectable

lib/sqlalchemy/orm/state.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,13 +507,13 @@ class AttributeState(object):
507507
to a particular attribute on a particular mapped object.
508508
509509
The :class:`.AttributeState` object is accessed
510-
via the :attr:`.InstanceState.attr` collection
510+
via the :attr:`.InstanceState.attrs` collection
511511
of a particular :class:`.InstanceState`::
512512
513513
from sqlalchemy import inspect
514514
515515
insp = inspect(some_mapped_object)
516-
attr_state = insp.attr.some_attribute
516+
attr_state = insp.attrs.some_attribute
517517
518518
"""
519519

0 commit comments

Comments
 (0)