Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dfuncobject.c992 PyObject *sm_callable; member
1000 Py_XDECREF(sm->sm_callable); in sm_dealloc()
1008 Py_VISIT(sm->sm_callable); in sm_traverse()
1016 Py_CLEAR(sm->sm_callable); in sm_clear()
1026 if (sm->sm_callable == NULL) { in sm_descr_get()
1031 Py_INCREF(sm->sm_callable); in sm_descr_get()
1032 return sm->sm_callable; in sm_descr_get()
1046 Py_XSETREF(sm->sm_callable, callable); in sm_init()
1048 if (functools_wraps((PyObject *)sm, sm->sm_callable) < 0) { in sm_init()
1058 return PyObject_Call(sm->sm_callable, args, kwargs); in sm_call()
[all …]