Searched refs:coercefunc (Results 1 – 1 of 1) sorted by relevance
1457 PyObject *coercefunc; in half_binop() local1472 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() local1559 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 …]