Home
last modified time | relevance | path

Searched refs:PyMethod_New (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Doc/c-api/
Dmethod.rst12 ``PyMethod_New(func, NULL, class)``.
70 .. c:function:: PyObject* PyMethod_New(PyObject *func, PyObject *self)
/external/python/cpython3/Include/
Dclassobject.h24 PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *, PyObject *);
/external/python/cpython3/Objects/
Dclassobject.c99 PyMethod_New(PyObject *func, PyObject *self) in PyMethod_New() function
231 return PyMethod_New(func, self); in method_new()
476 return PyMethod_New(func, obj); in instancemethod_descr_get()
Dfuncobject.c632 return PyMethod_New(func, obj); in func_descr_get()
747 return PyMethod_New(cm->cm_callable, type); in cm_descr_get()
/external/python/cpython2/Include/
Dclassobject.h49 PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *, PyObject *, PyObject *);
/external/python/cpython2/Doc/c-api/
Dmethod.rst27 .. c:function:: PyObject* PyMethod_New(PyObject *func, PyObject *self, PyObject *class)
/external/python/cpython2/Objects/
Dfuncobject.c541 return PyMethod_New(func, obj, type); in func_descr_get()
646 return PyMethod_New(cm->cm_callable, in cm_descr_get()
Dclassobject.c2251 PyMethod_New(PyObject *func, PyObject *self, PyObject *klass) in PyMethod_New() function
2376 return PyMethod_New(func, self, classObj); in instancemethod_new()
2628 return PyMethod_New(PyMethod_GET_FUNCTION(meth), obj, cls); in instancemethod_descr_get()
/external/python/cpython2/PC/os2vacpp/
Dpython.def266 PyMethod_New
/external/python/cpython2/Doc/data/
Drefcounts.dat752 PyMethod_New:PyObject*::+1:
753 PyMethod_New:PyObject*:func:0:
754 PyMethod_New:PyObject*:self:0:
755 PyMethod_New:PyObject*:class:0:
/external/python/cpython3/Doc/data/
Drefcounts.dat1317 PyMethod_New:PyObject*::+1:
1318 PyMethod_New:PyObject*:func:0:
1319 PyMethod_New:PyObject*:self:0:
1320 PyMethod_New:PyObject*:class:0:
/external/python/cpython2/PC/os2emx/
Dpython27.def203 "PyMethod_New"
/external/python/pybind11/include/pybind11/detail/
Dcommon.h195 #define PYBIND11_INSTANCE_METHOD_NEW(ptr, class_) PyMethod_New(ptr, nullptr, class_)
/external/python/cpython3/Modules/
D_functoolsmodule.c1257 return PyMethod_New(self, obj); in lru_cache_descr_get()
D_testcapimodule.c6151 return PyMethod_New(func, obj); in func_descr_get()
D_pickle.c408 return PyMethod_New(func, self); in reconstruct_method()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c5541 meth = PyMethod_New(func, NULL, ComError); in create_comerror()
/external/python/cpython3/Misc/
DHISTORY17123 __func__ and __self__. The factory PyMethod_New takes only func and