summaryrefslogtreecommitdiff
path: root/examples/stateMachine2.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@users.noreply.github.com>2018-12-24 12:31:34 -0600
committerGitHub <noreply@github.com>2018-12-24 12:31:34 -0600
commit7ee59bf9bec777b5a3f627dc2cfbde637ce9ebfc (patch)
treef420a7400fcd664e4cce5312f5a4690b9fedd921 /examples/stateMachine2.py
parent40deba322583925ad62d0afe2333b9301964ab69 (diff)
parent4f5c0933a0dce78641c097a8a060dfc103fef4b7 (diff)
downloadpyparsing-git-7ee59bf9bec777b5a3f627dc2cfbde637ce9ebfc.tar.gz
Merge pull request #57 from jdufresne/unused
Remove unused imports throughout project
Diffstat (limited to 'examples/stateMachine2.py')
-rw-r--r--examples/stateMachine2.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/stateMachine2.py b/examples/stateMachine2.py
index 21e0545..a156f6c 100644
--- a/examples/stateMachine2.py
+++ b/examples/stateMachine2.py
@@ -2,7 +2,6 @@
#
# module to define .pystate import handler
#
-#import imputil
import sys
import os
import types
@@ -10,11 +9,9 @@ import urllib.parse
DEBUG = False
-from pyparsing import Word, Group, ZeroOrMore, alphas, \
- alphanums, ParserElement, ParseException, ParseSyntaxException, \
- Empty, LineEnd, OneOrMore, col, Keyword, pythonStyleComment, \
- StringEnd, traceParseAction
-
+from pyparsing import Word, Group, alphas, \
+ alphanums, ParseException, \
+ OneOrMore, col, Keyword, pythonStyleComment
ident = Word(alphas+"_", alphanums+"_$")