Lines Matching refs:im_func
145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
2267 im->im_func = func; in PyMethod_New()
2285 {"im_func", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2287 {"__func__", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2310 return PyObject_GetAttr(im->im_func, docstr); in instancemethod_get_doc()
2343 return PyObject_GetAttr(im->im_func, name); in instancemethod_getattro()
2385 Py_DECREF(im->im_func); in instancemethod_dealloc()
2402 cmp = PyObject_Compare(a->im_func, b->im_func); in instancemethod_compare()
2418 PyObject *func = a->im_func; in instancemethod_repr()
2484 y = PyObject_Hash(a->im_func); in instancemethod_hash()
2496 Py_VISIT(im->im_func); in instancemethod_traverse()