summaryrefslogtreecommitdiff
path: root/sqlparse/keywords.py
diff options
context:
space:
mode:
authorVictor Uriarte <victor.m.uriarte@intel.com>2017-11-29 09:56:06 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2017-11-29 14:52:15 -0700
commit43478c60394e09246ee6275f89ae434e429cc5b5 (patch)
tree07c7cf589827d53212e38f54cc84bc88d56a1b5d /sqlparse/keywords.py
parent745df4576efca44b226bcdca33f718a5fa670eab (diff)
downloadsqlparse-typo.tar.gz
Fix typostypo
Diffstat (limited to 'sqlparse/keywords.py')
-rw-r--r--sqlparse/keywords.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index a1242ab..af5e348 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -45,7 +45,7 @@ SQL_REGEX = {
# FIXME(andi): VALUES shouldn't be listed here
# see https://github.com/andialbrecht/sqlparse/pull/64
# IN is special, it may be followed by a parenthesis, but
- # is never a functino, see issue183
+ # is never a function, see issue183
(r'(CASE|IN|VALUES|USING)\b', tokens.Keyword),
(r'(@|##|#)[A-ZÀ-Ü]\w+', tokens.Name),
@@ -55,7 +55,7 @@ SQL_REGEX = {
# TODO: Spaces before period not implemented
(r'[A-ZÀ-Ü]\w*(?=\s*\.)', tokens.Name), # 'Name' .
# FIXME(atronah): never match,
- # because `re.match` doesn't work with lookbehind regexp feature
+ # because `re.match` doesn't work with look-behind regexp feature
(r'(?<=\.)[A-ZÀ-Ü]\w*', tokens.Name), # .'Name'
(r'[A-ZÀ-Ü]\w*(?=\()', tokens.Name), # side effect: change kw to func
(r'-?0x[\dA-F]+', tokens.Number.Hexadecimal),