summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2009-03-30 04:56:17 +0000
committerptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2009-03-30 04:56:17 +0000
commit99119b68df7445113a4bf395ef54ca0bcc652cfa (patch)
tree4171c9a6dc301ca2828a1b200a34770bd5189f55
parente9d6797d5cdfa31f1b7007e246c1a2c356053614 (diff)
downloadpyparsing-99119b68df7445113a4bf395ef54ca0bcc652cfa.tar.gz
Updates submitted through pastebin, submitted by Patrick Laban
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@180 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
-rw-r--r--pyparsing_py3.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyparsing_py3.py b/pyparsing_py3.py
index d32bee1..0f0d104 100644
--- a/pyparsing_py3.py
+++ b/pyparsing_py3.py
@@ -59,7 +59,7 @@ The pyparsing module handles some of the problems that are typically vexing when
"""
__version__ = "1.5.2Py3"
-__versionTime__ = "18 February 2009 23:46"
+__versionTime__ = "29 March 2009 23:54"
__author__ = "Paul McGuire <ptmcg@users.sourceforge.net>"
import string
@@ -1404,7 +1404,7 @@ class ParserElement(object):
f.close()
try:
return self.parseString(file_contents, parseAll)
- except ParseBaseException, exc:
+ except ParseBaseException as exc:
# catch and re-raise exception from here, clears out pyparsing internal stack trace
raise exc
@@ -2862,7 +2862,7 @@ class SkipTo(ParseElementEnhance):
while 1:
try:
loc = self.ignoreExpr.tryParse(instring,loc)
- print "found ignoreExpr, advance to", loc
+ print("found ignoreExpr, advance to", loc)
except ParseBaseException:
break
expr._parse( instring, loc, doActions=False, callPreParse=False )