summaryrefslogtreecommitdiff
path: root/examples/antlr_grammar.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/antlr_grammar.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/antlr_grammar.py')
-rw-r--r--examples/antlr_grammar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/antlr_grammar.py b/examples/antlr_grammar.py
index 7863a77..e25ff7f 100644
--- a/examples/antlr_grammar.py
+++ b/examples/antlr_grammar.py
@@ -10,7 +10,7 @@ Submitted by Luca DallOlio, September, 2010
'''
from pyparsing import Word, ZeroOrMore, printables, Suppress, OneOrMore, Group, \
LineEnd, Optional, White, originalTextFor, hexnums, nums, Combine, Literal, Keyword, \
- cStyleComment, Regex, Forward, MatchFirst, And, srange, oneOf, alphas, alphanums, \
+ cStyleComment, Regex, Forward, MatchFirst, And, oneOf, alphas, alphanums, \
delimitedList
# http://www.antlr.org/grammar/ANTLR/ANTLRv3.g