[pypy-svn] r66408 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler

benjamin at codespeak.net benjamin at codespeak.net
Sun Jul 19 00:46:14 CEST 2009


Author: benjamin
Date: Sun Jul 19 00:46:13 2009
New Revision: 66408

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py
Log:
change %r to %s

Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py	Sun Jul 19 00:46:13 2009
@@ -172,7 +172,7 @@
         except KeyError:
             if kind is name_ops_deref and ctx == ast.Del:
                 raise SyntaxError("Can't delete variable used in "
-                                  "nested scopes: %r" % (identifier,))
+                                  "nested scopes: '%s'" % (identifier,))
             raise AssertionError("Unkown name operation")
         self.emit_op_arg(op, self.add_name(container, identifier))
 



More information about the Pypy-commit mailing list