Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dclassobject.c1457 PyObject *coercefunc; in half_binop() local
1472 coercefunc = PyObject_GetAttr(v, coerce_obj); in half_binop()
1473 if (coercefunc == NULL) { in half_binop()
1482 Py_DECREF(coercefunc); in half_binop()
1485 coerced = PyEval_CallObject(coercefunc, args); in half_binop()
1487 Py_DECREF(coercefunc); in half_binop()
1550 PyObject *coercefunc; in instance_coerce() local
1559 coercefunc = PyObject_GetAttr(v, coerce_obj); in instance_coerce()
1560 if (coercefunc == NULL) { in instance_coerce()
1572 coerced = PyEval_CallObject(coercefunc, args); in instance_coerce()
[all …]