diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-30 18:18:27 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-30 18:18:27 (GMT) |
commit | 4902e69e40b7f73bbb5e02a64260a8cf03651c80 (patch) | |
tree | 12a2c1b76a83be906e764c5d36e3055232ef70da /Parser | |
parent | 6cd2a2036db68874bdf66502f38f33c1824c9e65 (diff) | |
download | cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.zip cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.gz cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.bz2 |
More raise statement normalization.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/asdl.py | 2 |
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): |