]> 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:08:38 +0000 (12:08 -0500)
Change-Id: I2e9c8dbc79c00b54520748d1d7cae5230a612c96

lib/sqlalchemy/ext/automap.py

index 57a3a259200896a06007b08578d25c384a518e25..5c1fec24f4a0a3e48dbe7504e5722f987fbe8f3e 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
@@ -820,7 +820,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