]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jun 2017 22:36:51 +0000 (18:36 -0400)
(cherry picked from commit 4779ddd865d693f4c3521fbe200a96b88ed67186)

Change-Id: Ib3caafad523fac408475a2557c30be9ff39b0a65

lib/sqlalchemy/sql/elements.py

index a450efaf028efba96882c0aaa298d00a81b98777..5c4216b8ff4aad9dbf9c299b0c9ef3118249acd2 100644 (file)
@@ -518,7 +518,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.
@@ -1004,7 +1004,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
@@ -2486,7 +2486,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
@@ -3282,7 +3282,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.