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/urlExtractorNew.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/urlExtractorNew.py')
-rw-r--r-- | examples/urlExtractorNew.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/urlExtractorNew.py b/examples/urlExtractorNew.py index e258408..79f22ab 100644 --- a/examples/urlExtractorNew.py +++ b/examples/urlExtractorNew.py @@ -1,7 +1,6 @@ # URL extractor
# Copyright 2004, Paul McGuire
-from pyparsing import Literal,Suppress,CharsNotIn,CaselessLiteral,\
- Word,dblQuotedString,alphanums,SkipTo,makeHTMLTags
+from pyparsing import SkipTo, makeHTMLTags
import urllib.request, urllib.parse, urllib.error
import pprint
|