]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Maul the evaulate & friends typo
authorPriit Laes <plaes@plaes.org>
Fri, 19 Dec 2014 16:46:16 +0000 (18:46 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Dec 2014 18:56:03 +0000 (13:56 -0500)
(cherry picked from commit 8ae47dc6e0a98b359247040236be0810b9086f40)

Conflicts:
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/ext/declarative/base.py

doc/build/changelog/changelog_07.rst
doc/build/changelog/changelog_08.rst
doc/build/changelog/changelog_09.rst
examples/sharding/attribute_shard.py
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/dml.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/operators.py
lib/sqlalchemy/util/langhelpers.py

index 5504a0ad675f10a888b2f55deee8700aa9506244..e782ba93861248f562bd4c4bbd83cc8beb7b2529 100644 (file)
         :tags: orm
         :tickets: 2122
 
-      Some fixes to "evaulate" and "fetch" evaluation
+      Some fixes to "evaluate" and "fetch" evaluation
       when query.update(), query.delete() are called.
       The retrieval of records is done after autoflush
       in all cases, and before update/delete is
index 6515f731d3d18b1ada03f2c99081d11aa5f441dc..baaa7b15b2d553c7e8c57d3fa7dc06432fd3a477 100644 (file)
         expr1 = mycolumn > 2
         bool(expr1 == expr1)
 
-      Would evaulate as ``False``, even though this is an identity
+      Would evaluate as ``False``, even though this is an identity
       comparison, because ``mycolumn > 2`` would be "grouped" before
       being placed into the :class:`.BinaryExpression`, thus changing
       its identity.   :class:`.BinaryExpression` now keeps track
index 4ff73c45df762dd515288f272a61a5bb4eb49a73..f92d8324b77589658f57852f811ec8f4c11bd8c4 100644 (file)
         :tags: bug, orm
         :tickets: 3117
 
-        The "evaulator" for query.update()/delete() won't work with multi-table
+        The "evaluator" for query.update()/delete() won't work with multi-table
         updates, and needs to be set to `synchronize_session=False` or
         `synchronize_session='fetch'`; a warning is now emitted.  In
         1.0 this will be promoted to a full exception.
         in an ``ORDER BY`` clause, if that label is also referred to
         in the columns clause of the select, instead of rewriting the
         full expression.  This gives the database a better chance to
-        optimize the evaulation of the same expression in two different
+        optimize the evaluation of the same expression in two different
         contexts.
 
         .. seealso::
index 34b1be5b21156d491f9556242ce0be7e397e6399..4ce8c247f4ea12da49af64f8c9ea22bcf6391faf 100644 (file)
@@ -168,7 +168,7 @@ def _get_query_comparisons(query):
         elif bind.callable:
             # some ORM functions (lazy loading)
             # place the bind's value as a
-            # callable for deferred evaulation.
+            # callable for deferred evaluation.
             value = bind.callable()
         else:
             # just use .value
index 250bf5e9db9568d0cac382a74bbbf6804e484cd4..50176918e5bf9eef97ab0ea74cd43a8f738d1ae7 100644 (file)
@@ -77,7 +77,7 @@ class JSONElement(elements.BinaryExpression):
 
     def cast(self, type_):
         """Convert this :class:`.JSONElement` to apply both the 'astext' operator
-        as well as an explicit type cast when evaulated.
+        as well as an explicit type cast when evaluated.
 
         E.g.::
 
index 7a5cd5f2c2469989a402f46905c6374c166f8538..b3c4afefd208b20e25a931a9479e982f0858b2f2 100644 (file)
@@ -2710,7 +2710,7 @@ class Query(object):
               SELECT statement emitted and will significantly reduce
               performance.
 
-            * The ``'evaulate'`` strategy performs a scan of
+            * The ``'evaluate'`` strategy performs a scan of
               all matching objects within the :class:`.Session`; if the
               contents of the :class:`.Session` are expired, such as
               via a proceeding :meth:`.Session.commit` call, **this will
@@ -2802,7 +2802,7 @@ class Query(object):
               SELECT statement emitted and will significantly reduce
               performance.
 
-            * The ``'evaulate'`` strategy performs a scan of
+            * The ``'evaluate'`` strategy performs a scan of
               all matching objects within the :class:`.Session`; if the
               contents of the :class:`.Session` are expired, such as
               via a proceeding :meth:`.Session.commit` call, **this will
index 910806ebbee0df7bc77f1360a91283a40ec5ff5a..47f4f2ffaa2578566036364d3c700019499519f6 100644 (file)
@@ -380,7 +380,7 @@ class ValuesBase(UpdateBase):
         :func:`.mapper`.
 
         :param cols: optional list of column key names or :class:`.Column`
-         objects.  If omitted, all column expressions evaulated on the server
+         objects.  If omitted, all column expressions evaluated on the server
          are added to the returning list.
 
         .. versionadded:: 0.9.0
index af01c7a619cd6d6fcc33c78f56c2da5df0a55a88..1abc7519f04a15b3dc99d4c113d3d2886306dddf 100644 (file)
@@ -2075,7 +2075,7 @@ class Case(ColumnElement):
           result of the ``CASE`` construct if all expressions within
           :paramref:`.case.whens` evaluate to false.  When omitted, most
           databases will produce a result of NULL if none of the "when"
-          expressions evaulate to true.
+          expressions evaluate to true.
 
 
         """
index 9453563280ca15b108c753240f572d5e963392ff..f262dae3e622f20ba7464ff0d880ea21871623f7 100644 (file)
@@ -137,7 +137,7 @@ class Operators(object):
          .. versionadded:: 0.8 - added the 'precedence' argument.
 
         :param is_comparison: if True, the operator will be considered as a
-         "comparison" operator, that is which evaulates to a boolean
+         "comparison" operator, that is which evaluates to a boolean
          true/false value, like ``==``, ``>``, etc.  This flag should be set
          so that ORM relationships can establish that the operator is a
          comparison operator when used in a custom join condition.
index 8d6fe5a28f10482bc8b1d19317c971143c982099..3d9d16fc14ffe77c1ea1054e90dc011ee96d61a4 100644 (file)
@@ -932,7 +932,7 @@ def asbool(obj):
 
 
 def bool_or_str(*text):
-    """Return a callable that will evaulate a string as
+    """Return a callable that will evaluate a string as
     boolean, or one of a set of "alternate" string values.
 
     """