[pypy-svn] rev 559 - pypy/trunk/src/pypy/objspace/std

arigo at codespeak.net arigo at codespeak.net
Tue May 27 15:23:01 CEST 2003


Author: arigo
Date: Tue May 27 15:23:01 2003
New Revision: 559

Modified:
   pypy/trunk/src/pypy/objspace/std/instmethobject.py
Log:
fix

Modified: pypy/trunk/src/pypy/objspace/std/instmethobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/instmethobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/instmethobject.py	Tue May 27 15:23:01 2003
@@ -22,9 +22,9 @@
 
 
 def instmeth_call(space, w_instmeth, w_arguments, w_keywords):
-    w_ret = space.call(self.w_im_func,
-                       space.wrap((space.add(space.newtuple([self.w_im_self]),space.unwrap(w_arguments)),
-                       w_keywords)
+    w_args = space.add(space.newtuple([self.w_im_self]),
+                       w_arguments)
+    w_ret = space.call(self.w_im_func, w_args, w_keywords)
     return w_ret
 
 StdObjSpace.call.register(instmeth_call, W_InstMeth, W_ANY, W_ANY)


More information about the Pypy-commit mailing list