]> 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:57:55 +0000 (13:57 -0500)
this is only a small part of the cherry-pick as the docs
have been reorganized since 0.8

(cherry picked from commit 8ae47dc6e0a98b359247040236be0810b9086f40)

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

(cherry picked from commit 6e7701d534141ed8c4cba668792f2bb528a5af61)

Conflicts:
doc/build/changelog/changelog_09.rst
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

doc/build/changelog/changelog_07.rst
doc/build/changelog/changelog_08.rst
examples/sharding/attribute_shard.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 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 a8c59868edd13a74fc2dade23a2e265667d7ddbd..ba42e9c29697d9fc95e05dd95661debc1dfd9bf3 100644 (file)
@@ -763,7 +763,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.
 
     """