[pypy-svn] r74992 - pypy/trunk/pypy/module/cpyext

fijal at codespeak.net fijal at codespeak.net
Tue Jun 1 05:54:53 CEST 2010


Author: fijal
Date: Tue Jun  1 05:54:52 2010
New Revision: 74992

Modified:
   pypy/trunk/pypy/module/cpyext/methodobject.py
Log:
This is the used signature


Modified: pypy/trunk/pypy/module/cpyext/methodobject.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/methodobject.py	(original)
+++ pypy/trunk/pypy/module/cpyext/methodobject.py	Tue Jun  1 05:54:52 2010
@@ -235,10 +235,10 @@
     return space.wrap(W_PyCMethodObject(space, method, w_type))
 
 def PyDescr_NewWrapper(space, pto, method_name, wrapper_func, wrapper_func_kwds,
-                       flags, func):
+                       doc, func):
     # not exactly the API sig
     return space.wrap(W_PyCWrapperObject(space, pto, method_name,
-        wrapper_func, wrapper_func_kwds, flags, func))
+        wrapper_func, wrapper_func_kwds, doc, func))
 
 @cpython_api([lltype.Ptr(PyMethodDef), PyObject, CONST_STRING], PyObject)
 def Py_FindMethod(space, table, w_obj, name_ptr):



More information about the Pypy-commit mailing list