Lines Matching refs:coercefunc
1456 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()
1573 Py_DECREF(coercefunc); in instance_coerce()