diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-08-25 04:06:31 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-08-25 04:06:31 +0000 |
commit | f0365511a526e7dbf33613186eaeff6dea38bbd1 (patch) | |
tree | f4761bc503d2ce500e19e6cbd454072d8cac3f93 /Parser/asdl.py | |
parent | e427a1ca3abab7193abcef22788a390b557197f4 (diff) | |
download | cpython-git-f0365511a526e7dbf33613186eaeff6dea38bbd1.tar.gz |
Switch to using %r in the format string.
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 e8f9b1cb92..d6f5ec543f 100644 --- a/Parser/asdl.py +++ b/Parser/asdl.py @@ -98,7 +98,7 @@ class ASDLScanner(spark.GenericScanner, object): def t_default(self, s): r" . +" - raise ValueError, "unmatched input: %s" % repr(s) + raise ValueError, "unmatched input: %r" % s class ASDLParser(spark.GenericParser, object): def __init__(self): |