summaryrefslogtreecommitdiff
path: root/examples/stateMachine2.py
diff options
context:
space:
mode:
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+"_$")