diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-10-19 09:19:28 -0700 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2019-10-19 11:19:27 -0500 |
commit | 69aea3980e2e3c848ae1c7b0ce7539bbdc8daf27 (patch) | |
tree | 3d7ddf5bce1982a4ed217dd5fbeaf59c08d74ad7 /examples/simpleSQL.py | |
parent | b268114a0da1dc306cdcb9359ffa5a09bd99089f (diff) | |
download | pyparsing-git-69aea3980e2e3c848ae1c7b0ce7539bbdc8daf27.tar.gz |
Remove unused imports (#147)
Discovered using the command:
flake8 --select F401 .
Diffstat (limited to 'examples/simpleSQL.py')
-rw-r--r-- | examples/simpleSQL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simpleSQL.py b/examples/simpleSQL.py index ac4de17..60582cd 100644 --- a/examples/simpleSQL.py +++ b/examples/simpleSQL.py @@ -8,11 +8,11 @@ from pyparsing import Word, delimitedList, Optional, \ Group, alphas, alphanums, Forward, oneOf, quotedString, \ infixNotation, opAssoc, \ - ZeroOrMore, restOfLine, CaselessKeyword, pyparsing_common as ppc + restOfLine, CaselessKeyword, pyparsing_common as ppc # define SQL tokens selectStmt = Forward() -SELECT, FROM, WHERE, AND, OR, IN, IS, NOT, NULL = map(CaselessKeyword, +SELECT, FROM, WHERE, AND, OR, IN, IS, NOT, NULL = map(CaselessKeyword, "select from where and or in is not null".split()) NOT_NULL = NOT + NULL |