summaryrefslogtreecommitdiff
path: root/examples/sql2dot.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/sql2dot.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/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(")")) + ")"