summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ansisql.py
diff options
context:
space:
mode:
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