]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix a few doc typos
authorLele Gaifax <lele@metapensiero.it>
Mon, 22 May 2017 13:03:06 +0000 (15:03 +0200)
committerLele Gaifax <lele@metapensiero.it>
Fri, 2 Jun 2017 21:38:26 +0000 (23:38 +0200)
lib/sqlalchemy/sql/elements.py

index 1ce03e66a3d9b08e5f6842f6ed62ef199dbf3e70..88c2949990d1c92c5a259401a377a6af7cb0ab74 100644 (file)
@@ -42,7 +42,7 @@ def collate(expression, collation):
         mycolumn COLLATE utf8_bin
 
     The collation expression is also quoted if it is a case sensitive
-    identifer, e.g. contains uppercase characters.
+    identifier, e.g. contains uppercase characters.
 
     .. versionchanged:: 1.2 quoting is automatically applied to COLLATE
        expressions if they are case sensitive.
@@ -524,7 +524,7 @@ class ColumnElement(operators.ColumnOperators, ClauseElement):
           produced featuring the given value embedded into the construct; the
           resulting :class:`.BindParameter` object is an instance of
           :class:`.ColumnElement`.  The Python value will ultimately be sent
-          to the DBAPI at execution time as a paramterized argument to the
+          to the DBAPI at execution time as a parameterized argument to the
           ``execute()`` or ``executemany()`` methods, after SQLAlchemy
           type-specific converters (e.g. those provided by any associated
           :class:`.TypeEngine` objects) are applied to the value.
@@ -1011,7 +1011,7 @@ class BindParameter(ColumnElement):
           value; for example, trivial Python types such as ``str``,
           ``int``, ``bool``
           may result in the :class:`.String`, :class:`.Integer` or
-          :class:`.Boolean` types being autoamtically selected.
+          :class:`.Boolean` types being automatically selected.
 
           The type of a :func:`.bindparam` is significant especially in that
           the type will apply pre-processing to the value before it is
@@ -2512,7 +2512,7 @@ class Extract(ColumnElement):
 class _label_reference(ColumnElement):
     """Wrap a column expression as it appears in a 'reference' context.
 
-    This expression is any that inclues an _order_by_label_element,
+    This expression is any that includes an _order_by_label_element,
     which is a Label, or a DESC / ASC construct wrapping a Label.
 
     The production of _label_reference() should occur when an expression
@@ -3308,7 +3308,7 @@ class WithinGroup(ColumnElement):
     It's supported only by certain database backends, such as PostgreSQL,
     Oracle and MS SQL Server.
 
-    The :class:`.WithinGroup` consturct extracts its type from the
+    The :class:`.WithinGroup` construct extracts its type from the
     method :meth:`.FunctionElement.within_group_type`.  If this returns
     ``None``, the function's ``.type`` is used.