From: Lele Gaifax Date: Mon, 22 May 2017 13:03:06 +0000 (+0200) Subject: Fix a few doc typos X-Git-Tag: rel_1_2_0b1~37^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4779ddd865d693f4c3521fbe200a96b88ed67186;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix a few doc typos --- diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py index 1ce03e66a3..88c2949990 100644 --- a/lib/sqlalchemy/sql/elements.py +++ b/lib/sqlalchemy/sql/elements.py @@ -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.