Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dfuncobject.c839 PyObject *sm_callable; member
847 Py_XDECREF(sm->sm_callable); in sm_dealloc()
855 Py_VISIT(sm->sm_callable); in sm_traverse()
863 Py_CLEAR(sm->sm_callable); in sm_clear()
873 if (sm->sm_callable == NULL) { in sm_descr_get()
878 Py_INCREF(sm->sm_callable); in sm_descr_get()
879 return sm->sm_callable; in sm_descr_get()
893 Py_XSETREF(sm->sm_callable, callable); in sm_init()
898 {"__func__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
905 int res = _PyObject_IsAbstract(sm->sm_callable); in sm_get___isabstractmethod__()
[all …]
/external/python/cpython2/Objects/
Dfuncobject.c766 PyObject *sm_callable; member
773 Py_XDECREF(sm->sm_callable); in sm_dealloc()
780 Py_VISIT(sm->sm_callable); in sm_traverse()
787 Py_CLEAR(sm->sm_callable); in sm_clear()
796 if (sm->sm_callable == NULL) { in sm_descr_get()
801 Py_INCREF(sm->sm_callable); in sm_descr_get()
802 return sm->sm_callable; in sm_descr_get()
816 sm->sm_callable = callable; in sm_init()
821 {"__func__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
893 sm->sm_callable = callable; in PyStaticMethod_New()