Home
last modified time | relevance | path

Searched refs:PyCFunction_NewEx (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Include/
Dmethodobject.h44 #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
45 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
49 #define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL) macro
/third_party/python/Objects/
Dmethodobject.c14 #undef PyCFunction_NewEx
34 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New()
38 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx() function
Dmoduleobject.c151 func = PyCFunction_NewEx(fdef, (PyObject*)module, name); in _add_methods_to_object()
Ddescrobject.c155 return PyCFunction_NewEx(descr->d_method, obj, NULL); in method_get()
Dtypeobject.c4992 PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, NULL); in add_methods()
6248 func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL); in add_tp_new_wrapper()
/third_party/python/Modules/
D_abc.c188 destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL); in _add_to_weak_set()
D_threadmodule.c780 self->wr_callback = PyCFunction_NewEx(&wr_callback_def, wr, NULL); in local_new()
D_testcapimodule.c3656 return PyCFunction_NewEx(&ml, self, NULL); in create_cfunction()
/third_party/python/PC/
Dpython3.def42 PyCFunction_NewEx=python39.PyCFunction_NewEx
/third_party/python/Python/
Dcodecs.c1516 PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL); in _PyCodecRegistry_Init()
/third_party/python/Misc/
DNEWS2817 - bpo-39884: :c:func:`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` now