[pypy-svn] r73076 - pypy/branch/cpython-extension/pypy/module/cpyext

xoraxax at codespeak.net xoraxax at codespeak.net
Mon Mar 29 16:39:50 CEST 2010


Author: xoraxax
Date: Mon Mar 29 16:39:49 2010
New Revision: 73076

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/slotdefs.py
Log:
Forgot a wrap.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/slotdefs.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/slotdefs.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/slotdefs.py	Mon Mar 29 16:39:49 2010
@@ -17,7 +17,7 @@
             PyTuple_GET_SIZE
     if not PyTuple_CheckExact(space, ob):
         raise OperationError(space.w_SystemError,
-            "PyArg_UnpackTuple() argument list is not a tuple")
+            space.wrap("PyArg_UnpackTuple() argument list is not a tuple"))
     if n == PyTuple_GET_SIZE(space, ob):
         return
     raise operationerrfmt(space.w_TypeError,



More information about the Pypy-commit mailing list