Home
last modified time | relevance | path

Searched refs:im_func (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Objects/
Dclassobject.c21 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
111 im->im_func = func; in PyMethod_New()
147 {"__func__", T_OBJECT, MO_OFF(im_func), READONLY,
168 return PyObject_GetAttr(im->im_func, docstr); in method_get_doc()
201 return PyObject_GetAttr(im->im_func, name); in method_getattro()
240 Py_DECREF(im->im_func); in method_dealloc()
260 eq = PyObject_RichCompareBool(a->im_func, b->im_func, Py_EQ); in method_richcompare()
278 PyObject *func = a->im_func; in method_repr()
307 y = PyObject_Hash(a->im_func); in method_hash()
319 Py_VISIT(im->im_func); in method_traverse()
/third_party/python/Include/
Dclassobject.h14 PyObject *im_func; /* The callable object implementing the method */ member
32 (((PyMethodObject *)meth) -> im_func)
/third_party/boost/libs/python/src/
Dwrapper.cpp37 if (borrowed_f != ((PyMethodObject*)m.get())->im_func) in get_override()
/third_party/python/Doc/library/
D2to3.rst321 Fixes old method attribute names. For example, ``meth.im_func`` is converted
/third_party/python/Doc/whatsnew/
D2.6.rst1681 :attr:`__self__`, and :attr:`im_func` is also available as :attr:`__func__`.
/third_party/python/Misc/
DHISTORY17122 im_class attribute is removed and im_func + im_self are renamed to
25463 and set attributes on their underlying im_func. It is a TypeError
28911 Python functions as their im_func. Use new.instancemethod() or write