]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Nov 2013 02:45:02 +0000 (21:45 -0500)
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py

index bbe5b56c9b705d96683da7ba268cca41785f458c..afc5c6e2e7ccadf9e75ed5bb919b281cf607a5ad 100644 (file)
@@ -245,7 +245,7 @@ class Mapper(_InspectionAttr):
     def entity(self):
         """Part of the inspection API.
 
-        Returns self.class_.
+        Returns self.class\_.
 
         """
         return self.class_
index 28388b9696dc88eba538f04eeea24e785ac15fef..2d4e316afe5031b246e7498bc33eb81009e7b87b 100644 (file)
@@ -1639,7 +1639,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)``.
@@ -2211,7 +2211,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.::