]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix indentation and escape *args and **kwargs
authorVraj Mohan <r.vrajmohan@gmail.com>
Wed, 13 Nov 2013 13:24:35 +0000 (08:24 -0500)
committerVraj Mohan <r.vrajmohan@gmail.com>
Wed, 13 Nov 2013 13:24:35 +0000 (08:24 -0500)
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py

index 4336c191d96a503ef20968f6925b574b375b2694..375e7b1afba15ecef3ba413cb1ebf15c41eaaa65 100644 (file)
@@ -622,7 +622,7 @@ class Mapper(_InspectionAttr):
     def entity(self):
         """Part of the inspection API.
 
-        Returns self.class_.
+        Returns self.class\_.
 
         """
         return self.class_
index 1b83f3fb8a4061b186deb2e4c7118ab54a708d46..9051c081e7950a0d3f0a9dafe9186c75a01a96e5 100644 (file)
@@ -1625,7 +1625,7 @@ class Query(object):
         example :ref:`examples_xmlpersistence` which illustrates
         an XPath-like query system using algorithmic joins.
 
-        :param *props: A collection of one or more join conditions,
+        :param \*props: A collection of one or more join conditions,
          each consisting of a relationship-bound attribute or string
          relationship name representing an "on clause", or a single
          target entity, or a tuple in the form of ``(target, onclause)``.
@@ -2204,7 +2204,7 @@ class Query(object):
         ``Query``.
 
         :param \*prefixes: optional prefixes, typically strings,
-        not using any commas.   In particular is useful for MySQL keywords.
+         not using any commas.   In particular is useful for MySQL keywords.
 
         e.g.::