diff options
Diffstat (limited to 'lib/sqlalchemy/ext')
| -rw-r--r-- | lib/sqlalchemy/ext/associationproxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/associationproxy.py b/lib/sqlalchemy/ext/associationproxy.py index 2e057fc02..c725372c5 100644 --- a/lib/sqlalchemy/ext/associationproxy.py +++ b/lib/sqlalchemy/ext/associationproxy.py @@ -206,7 +206,7 @@ class AssociationProxy(interfaces.InspectionAttrInfo): return self._as_instance(class_, obj).delete(obj) def for_class(self, class_, obj=None): - """Return the internal state local to a specific mapped class. + r"""Return the internal state local to a specific mapped class. E.g., given a class ``User``:: @@ -225,7 +225,7 @@ class AssociationProxy(interfaces.InspectionAttrInfo): is specific to the ``User`` class. The :class:`.AssociationProxy` object remains agnostic of its parent class. - :param class_: the class that we are returning state for. + :param class\_: the class that we are returning state for. :param obj: optional, an instance of the class that is required if the attribute refers to a polymorphic target, e.g. where we have |
