Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dclassobject.c1456 PyObject *coercefunc; in half_binop() local
1471 coercefunc = PyObject_GetAttr(v, coerce_obj); in half_binop()
1472 if (coercefunc == NULL) { in half_binop()
1481 Py_DECREF(coercefunc); in half_binop()
1484 coerced = PyEval_CallObject(coercefunc, args); in half_binop()
1486 Py_DECREF(coercefunc); in half_binop()
1549 PyObject *coercefunc; in instance_coerce() local
1558 coercefunc = PyObject_GetAttr(v, coerce_obj); in instance_coerce()
1559 if (coercefunc == NULL) { in instance_coerce()
1571 coerced = PyEval_CallObject(coercefunc, args); in instance_coerce()
[all …]