Home
last modified time | relevance | path

Searched refs:cm_callable (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Dfuncobject.c656 PyObject *cm_callable; member
664 Py_XDECREF(cm->cm_callable); in cm_dealloc()
672 Py_VISIT(cm->cm_callable); in cm_traverse()
680 Py_CLEAR(cm->cm_callable); in cm_clear()
691 if (cm->cm_callable == NULL) { in cm_descr_get()
698 return PyMethod_New(cm->cm_callable, type); in cm_descr_get()
712 Py_XSETREF(cm->cm_callable, callable); in cm_init()
717 {"__func__", T_OBJECT, offsetof(classmethod, cm_callable), READONLY},
724 int res = _PyObject_IsAbstract(cm->cm_callable); in cm_get___isabstractmethod__()
814 cm->cm_callable = callable; in PyClassMethod_New()
/external/python/cpython2/Objects/
Dfuncobject.c608 PyObject *cm_callable; member
615 Py_XDECREF(cm->cm_callable); in cm_dealloc()
622 Py_VISIT(cm->cm_callable); in cm_traverse()
629 Py_CLEAR(cm->cm_callable); in cm_clear()
639 if (cm->cm_callable == NULL) { in cm_descr_get()
646 return PyMethod_New(cm->cm_callable, in cm_descr_get()
661 cm->cm_callable = callable; in cm_init()
666 {"__func__", T_OBJECT, offsetof(classmethod, cm_callable), READONLY},
741 cm->cm_callable = callable; in PyClassMethod_New()