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

fijal at codespeak.net fijal at codespeak.net
Tue Jun 1 05:51:50 CEST 2010


Author: fijal
Date: Tue Jun  1 05:51:47 2010
New Revision: 74991

Modified:
   pypy/trunk/pypy/module/cpyext/methodobject.py
Log:
clarify api a bit


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:51:47 2010
@@ -234,10 +234,11 @@
 def PyDescr_NewMethod(space, w_type, method):
     return space.wrap(W_PyCMethodObject(space, method, w_type))
 
-def PyDescr_NewWrapper(space, pto, method_name, wrapper_func, doc, flags, func):
+def PyDescr_NewWrapper(space, pto, method_name, wrapper_func, wrapper_func_kwds,
+                       flags, func):
     # not exactly the API sig
     return space.wrap(W_PyCWrapperObject(space, pto, method_name,
-        wrapper_func, doc, flags, func))
+        wrapper_func, wrapper_func_kwds, flags, 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