summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ansisql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-01-01 00:10:37 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-01-01 00:10:37 +0000
commit3d10187bd3180ec32ba7f329fc3bcff725d2ef79 (patch)
treeadf909d8dac13444c1a8752223422e72ed7129eb /lib/sqlalchemy/ansisql.py
parent34b3bbd034485737114814f4ba599f9778f44c59 (diff)
downloadsqlalchemy-3d10187bd3180ec32ba7f329fc3bcff725d2ef79.tar.gz
- global "insure"->"ensure" change. in US english "insure" is actually
largely interchangeable with "ensure" (so says the dictionary), so I'm not completely illiterate, but its definitely sub-optimal to "ensure" which is non-ambiguous.
Diffstat (limited to 'lib/sqlalchemy/ansisql.py')
-rw-r--r--lib/sqlalchemy/ansisql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ansisql.py b/lib/sqlalchemy/ansisql.py
index e470a2101..225188eb3 100644
--- a/lib/sqlalchemy/ansisql.py
+++ b/lib/sqlalchemy/ansisql.py
@@ -321,7 +321,7 @@ class ANSICompiler(sql.Compiled):
# redefine the generated name of the bind param in the case
# that we have multiple conflicting bind parameters.
while self.binds.setdefault(key, bindparam) is not bindparam:
- # insure the name doesn't expand the length of the string
+ # ensure the name doesn't expand the length of the string
# in case we're at the edge of max identifier length
tag = "_%d" % count
key = bindparam.key[0 : len(bindparam.key) - len(tag)] + tag