diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-10-19 09:19:28 -0700 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2019-10-19 11:19:27 -0500 |
commit | 69aea3980e2e3c848ae1c7b0ce7539bbdc8daf27 (patch) | |
tree | 3d7ddf5bce1982a4ed217dd5fbeaf59c08d74ad7 /examples/htmlStripper.py | |
parent | b268114a0da1dc306cdcb9359ffa5a09bd99089f (diff) | |
download | pyparsing-git-69aea3980e2e3c848ae1c7b0ce7539bbdc8daf27.tar.gz |
Remove unused imports (#147)
Discovered using the command:
flake8 --select F401 .
Diffstat (limited to 'examples/htmlStripper.py')
-rw-r--r-- | examples/htmlStripper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/htmlStripper.py b/examples/htmlStripper.py index eb35c70..bd99b77 100644 --- a/examples/htmlStripper.py +++ b/examples/htmlStripper.py @@ -6,10 +6,9 @@ # # Copyright (c) 2006, 2016, Paul McGuire # -import urllib.parse, urllib.error from urllib.request import urlopen from pyparsing import (makeHTMLTags, commonHTMLEntity, replaceHTMLEntity, - htmlComment, anyOpenTag, anyCloseTag, LineEnd, OneOrMore, replaceWith) + htmlComment, anyOpenTag, anyCloseTag, LineEnd, replaceWith) scriptOpen, scriptClose = makeHTMLTags("script") scriptBody = scriptOpen + scriptOpen.tag_body + scriptClose |