summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-05-13 11:52:17 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-05-13 12:12:55 -0400
commit663ed1a0772f6c6d53b1f4f9a2f652d0e5ce0b8a (patch)
treea7c7532cc620761741ecfd89467e1c7f3de6f40b /lib/sqlalchemy/ext
parentb26642e2364836fe9a8ee25c1cf4551901ce0c37 (diff)
downloadsqlalchemy-663ed1a0772f6c6d53b1f4f9a2f652d0e5ce0b8a.tar.gz
Resolve RST306 issues
The latest flake8 seems to look for these and they are in fact correctable with a backslash. Also need to add r to the strings to avoid W605. Change-Id: I8045309aa2ad29978ba7e99c45f75bc1457dff3d
Diffstat (limited to 'lib/sqlalchemy/ext')
-rw-r--r--lib/sqlalchemy/ext/associationproxy.py4
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