summaryrefslogtreecommitdiff
path: root/examples/sql2dot.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql2dot.py')
-rw-r--r--examples/sql2dot.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sql2dot.py b/examples/sql2dot.py
index aa86c40..fa1d489 100644
--- a/examples/sql2dot.py
+++ b/examples/sql2dot.py
@@ -47,9 +47,9 @@ alter table only student_registrations
(class_id) references classes(class_id);
""".upper()
-from pyparsing import Literal, CaselessLiteral, Word, delimitedList \
- ,Optional, Combine, Group, alphas, nums, alphanums, Forward \
- , oneOf, sglQuotedString, OneOrMore, ZeroOrMore, CharsNotIn \
+from pyparsing import Literal, Word, delimitedList \
+ , alphas, alphanums \
+ , OneOrMore, ZeroOrMore, CharsNotIn \
, replaceWith
skobki = "(" + ZeroOrMore(CharsNotIn(")")) + ")"