summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-30 18:18:27 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-30 18:18:27 (GMT)
commit4902e69e40b7f73bbb5e02a64260a8cf03651c80 (patch)
tree12a2c1b76a83be906e764c5d36e3055232ef70da /Parser
parent6cd2a2036db68874bdf66502f38f33c1824c9e65 (diff)
downloadcpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.zip
cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.gz
cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.bz2
More raise statement normalization.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/asdl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl.py b/Parser/asdl.py
index a3701e6..8fbd9ec 100644
--- a/Parser/asdl.py
+++ b/Parser/asdl.py
@@ -103,7 +103,7 @@ class ASDLScanner(spark.GenericScanner, object):
def t_default(self, s):
r" . +"
- raise ValueError, "unmatched input: %r" % s
+ raise ValueError("unmatched input: %r" % s)
class ASDLParser(spark.GenericParser, object):
def __init__(self):