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/idlParse.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/idlParse.py')
-rw-r--r-- | examples/idlParse.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/idlParse.py b/examples/idlParse.py index 37cb363..1daaf24 100644 --- a/examples/idlParse.py +++ b/examples/idlParse.py @@ -6,9 +6,9 @@ # Copyright (c) 2003, Paul McGuire
#
-from pyparsing import Literal, CaselessLiteral, Word, OneOrMore, ZeroOrMore, \
- Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, \
- alphanums, printables, empty, quotedString, ParseException, ParseResults, Keyword, Regex
+from pyparsing import Literal, Word, OneOrMore, ZeroOrMore, \
+ Forward, delimitedList, Group, Optional, alphas, restOfLine, cStyleComment, \
+ alphanums, quotedString, ParseException, Keyword, Regex
import pprint
#~ import tree2image
|