diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2015-12-31 00:55:47 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2015-12-31 00:55:47 +0000 |
commit | 401ba4a945b88f12e26495a82d4059d4adbaec92 (patch) | |
tree | 9570287813d7358750ddd1ffe50ba60c0a999972 /src/examples/oc.py | |
parent | c8e8c6592d625d24bc7c0ca34bcc527ec380c2d5 (diff) | |
download | pyparsing-git-401ba4a945b88f12e26495a82d4059d4adbaec92.tar.gz |
Added new example parseTabularData.py
Updated several examples to more current Python and pyparsing practices (and better Py2/Py3 cross-compatibility)
Diffstat (limited to 'src/examples/oc.py')
-rw-r--r-- | src/examples/oc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/examples/oc.py b/src/examples/oc.py index 5a1ff8e..1d49190 100644 --- a/src/examples/oc.py +++ b/src/examples/oc.py @@ -190,6 +190,4 @@ main() """
ast = program.parseString(test,parseAll=True)
-
-import pprint
-pprint.pprint(ast.asList())
+ast.pprint()
|