diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-24 08:59:21 -0500 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-24 09:38:48 -0500 |
commit | 4f5c0933a0dce78641c097a8a060dfc103fef4b7 (patch) | |
tree | f420a7400fcd664e4cce5312f5a4690b9fedd921 /examples/sql2dot.py | |
parent | 40deba322583925ad62d0afe2333b9301964ab69 (diff) | |
download | pyparsing-git-4f5c0933a0dce78641c097a8a060dfc103fef4b7.tar.gz |
Remove unused imports throughout project
Unused imports were discovered using flake8. By removing the unused
imports, the code is a bit friendlier to new contributors as it is
clearer what is being used and not simply leftover from previous
refactoring.
The flake8 command:
$ flake8 . --select F401
http://flake8.pycqa.org/
Diffstat (limited to 'examples/sql2dot.py')
-rw-r--r-- | examples/sql2dot.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sql2dot.py b/examples/sql2dot.py index aa86c40..fa1d489 100644 --- a/examples/sql2dot.py +++ b/examples/sql2dot.py @@ -47,9 +47,9 @@ alter table only student_registrations (class_id) references classes(class_id);
""".upper()
-from pyparsing import Literal, CaselessLiteral, Word, delimitedList \
- ,Optional, Combine, Group, alphas, nums, alphanums, Forward \
- , oneOf, sglQuotedString, OneOrMore, ZeroOrMore, CharsNotIn \
+from pyparsing import Literal, Word, delimitedList \
+ , alphas, alphanums \
+ , OneOrMore, ZeroOrMore, CharsNotIn \
, replaceWith
skobki = "(" + ZeroOrMore(CharsNotIn(")")) + ")"
|