Home
last modified time | relevance | path

Searched refs:PyCMethod_New (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Include/
H A Dmethodobject.h68 /* PyCFunction_NewEx is similar: on 3.9+, this calls PyCMethod_New. */
73 #define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
74 PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,
/third_party/python/Objects/
H A Dmethodobject.c13 /* undefine macro trampoline to PyCMethod_New */
40 return PyCMethod_New(ml, self, module, NULL); in PyCFunction_NewEx()
44 PyCMethod_New(PyMethodDef *ml, PyObject *self, PyObject *module, PyTypeObject *cls) in PyCMethod_New() function
H A Ddescrobject.c145 return PyCMethod_New(descr->d_method, type, NULL, cls); in classmethod_get()
159 return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type); in method_get()
/third_party/python/PC/
H A Dpython3dll.c143 EXPORT_FUNC(PyCMethod_New)

Completed in 5 milliseconds