summaryrefslogtreecommitdiff
path: root/examples/verilogParse.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-24 08:59:21 -0500
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-24 09:38:48 -0500
commit4f5c0933a0dce78641c097a8a060dfc103fef4b7 (patch)
treef420a7400fcd664e4cce5312f5a4690b9fedd921 /examples/verilogParse.py
parent40deba322583925ad62d0afe2333b9301964ab69 (diff)
downloadpyparsing-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/verilogParse.py')
-rw-r--r--examples/verilogParse.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/verilogParse.py b/examples/verilogParse.py
index 0c63f19..9477e38 100644
--- a/examples/verilogParse.py
+++ b/examples/verilogParse.py
@@ -61,17 +61,16 @@
# for udpInstance.
# 1.0.11 - Fixed bug in inst_args, content alternatives were reversed
#
-import pdb
import time
import pprint
import sys
__version__ = "1.0.11"
-from pyparsing import Literal, CaselessLiteral, Keyword, Word, OneOrMore, ZeroOrMore, \
- Forward, NotAny, delimitedList, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, \
- alphanums, printables, dblQuotedString, empty, ParseException, ParseResults, MatchFirst, oneOf, GoToColumn, \
- ParseResults,StringEnd, FollowedBy, ParserElement, And, Regex, cppStyleComment#,__version__
+from pyparsing import Literal, Keyword, Word, OneOrMore, ZeroOrMore, \
+ Forward, delimitedList, Group, Optional, Combine, alphas, nums, restOfLine, \
+ alphanums, dblQuotedString, empty, ParseException, oneOf, \
+ StringEnd, FollowedBy, ParserElement, Regex, cppStyleComment
import pyparsing
usePackrat = False
usePsyco = False