diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-30 18:18:27 +0000 |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-30 18:18:27 +0000 |
commit | 4902e69e40b7f73bbb5e02a64260a8cf03651c80 (patch) | |
tree | 12a2c1b76a83be906e764c5d36e3055232ef70da /Parser/asdl.py | |
parent | Kill more lingering string exceptions in Lib/plat-mac/. (diff) | |
download | cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.gz cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.tar.bz2 cpython-4902e69e40b7f73bbb5e02a64260a8cf03651c80.zip |
More raise statement normalization.
Diffstat (limited to 'Parser/asdl.py')
-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 a3701e6261b..8fbd9ec9fe1 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): |