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/fourFn.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/fourFn.py')
-rw-r--r-- | examples/fourFn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fourFn.py b/examples/fourFn.py index 484aa45..e1393b6 100644 --- a/examples/fourFn.py +++ b/examples/fourFn.py @@ -9,8 +9,8 @@ #
# Copyright 2003-2009 by Paul McGuire
#
-from pyparsing import Literal,CaselessLiteral,Word,Group,Optional,\
- ZeroOrMore,Forward,nums,alphas,alphanums,Regex,ParseException,\
+from pyparsing import Literal,Word,Group,\
+ ZeroOrMore,Forward,alphas,alphanums,Regex,ParseException,\
CaselessKeyword, Suppress
import math
import operator
|