[pypy-svn] r4893 - pypy/branch/src-newobjectmodel/pypy/objspace

mwh at codespeak.net mwh at codespeak.net
Fri Jun 4 09:44:14 CEST 2004


Author: mwh
Date: Fri Jun  4 09:44:14 2004
New Revision: 4893

Modified:
   pypy/branch/src-newobjectmodel/pypy/objspace/descroperation.py
Log:
Unsatisfactory change to make
test_interpreter.TestInterpreter.test_except3 pass again.


Modified: pypy/branch/src-newobjectmodel/pypy/objspace/descroperation.py
==============================================================================
--- pypy/branch/src-newobjectmodel/pypy/objspace/descroperation.py	(original)
+++ pypy/branch/src-newobjectmodel/pypy/objspace/descroperation.py	Fri Jun  4 09:44:14 2004
@@ -304,7 +304,7 @@
         if w_res is not None:
             return w_res
         raise OperationError(space.w_TypeError,
-                space.wrap("operands do not support binary %s" % symbol))
+                space.wrap("unsupported operand type(s) for %s" % symbol))
     return binop_impl
 
 def _make_comparison_impl(symbol,specialnames):



More information about the Pypy-commit mailing list