summaryrefslogtreecommitdiff
path: root/examples/dictExample2.py
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2019-01-30 20:41:33 -0600
committerptmcg <ptmcg@austin.rr.com>2019-01-30 20:41:33 -0600
commit3157a77c9584a69839db0f8274c87438b912e99b (patch)
tree5e93a6e21715f9afcbc55eba56f4a5f962b67a46 /examples/dictExample2.py
parentf10a02039a6039f8a42b0cc99bea51623676cf01 (diff)
downloadpyparsing-git-3157a77c9584a69839db0f8274c87438b912e99b.tar.gz
Update examples and unit tests to more preferred coding styles, imports for pyparsing_common as ppc and pyparsing_unicode as ppu
Diffstat (limited to 'examples/dictExample2.py')
-rw-r--r--examples/dictExample2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dictExample2.py b/examples/dictExample2.py
index 58162f7..fa1b866 100644
--- a/examples/dictExample2.py
+++ b/examples/dictExample2.py
@@ -6,7 +6,7 @@
#
# Copyright (c) 2004, Paul McGuire
#
-from pyparsing import Literal, Word, Group, Dict, ZeroOrMore, alphas, nums, delimitedList, pyparsing_common
+from pyparsing import Literal, Word, Group, Dict, ZeroOrMore, alphas, nums, delimitedList, pyparsing_common as ppc
testData = """
+-------+------+------+------+------+------+------+------+------+
@@ -21,7 +21,7 @@ testData = """
# define grammar for datatable
underline = Word("-=")
-number = pyparsing_common.integer
+number = ppc.integer
vert = Literal("|").suppress()