]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- repair an errant docstring w/o r
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Jan 2017 17:08:38 +0000 (12:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Jan 2017 17:09:27 +0000 (12:09 -0500)
Change-Id: I2e9c8dbc79c00b54520748d1d7cae5230a612c96
(cherry picked from commit 3a6c55fb5175ec9ffa03dd7c1325a4746f081486)

lib/sqlalchemy/ext/automap.py

index b7368f434f525d5dd98f6d2580d27310c0d1ab61..7dc22921e56e4d420fc7a1a1117c665f18b9556c 100644 (file)
@@ -606,7 +606,7 @@ def name_for_collection_relationship(
 
 def generate_relationship(
         base, direction, return_fn, attrname, local_cls, referred_cls, **kw):
-    """Generate a :func:`.relationship` or :func:`.backref` on behalf of two
+    r"""Generate a :func:`.relationship` or :func:`.backref` on behalf of two
     mapped classes.
 
     An alternate implementation of this function can be specified using the
@@ -810,7 +810,7 @@ class AutomapBase(object):
 
 
 def automap_base(declarative_base=None, **kw):
-    """Produce a declarative automap base.
+    r"""Produce a declarative automap base.
 
     This function produces a new base class that is a product of the
     :class:`.AutomapBase` class as well a declarative base produced by