summaryrefslogtreecommitdiff
path: root/src/examples/withAttribute.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2012-11-23 08:54:10 +0000
committerPaul McGuire <ptmcg@austin.rr.com>2012-11-23 08:54:10 +0000
commit774e46526945ea91265734a2dc82d15eed515577 (patch)
tree734ae210c20a98f01fe029f7e6eeb7a93b4617fb /src/examples/withAttribute.py
parent6b12041d4656f4cda910f24acda8d71013166fbd (diff)
downloadpyparsing-git-774e46526945ea91265734a2dc82d15eed515577.tar.gz
Clean up examples to be Python 3 compatible
Diffstat (limited to 'src/examples/withAttribute.py')
-rw-r--r--src/examples/withAttribute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/withAttribute.py b/src/examples/withAttribute.py
index af7edf3..062c9ae 100644
--- a/src/examples/withAttribute.py
+++ b/src/examples/withAttribute.py
@@ -21,4 +21,4 @@ patt = tdS + fontS + NBSP + realNum("value") + NBSP + fontE + tdE
tdS.setParseAction( withAttribute(align="right",width="80") )
for s in patt.searchString(data):
- print s.value
+ print(s.value)