Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dclassobject.c1449 static PyObject *coerce_obj; variable
1467 if (coerce_obj == NULL) { in half_binop()
1468 coerce_obj = PyString_InternFromString("__coerce__"); in half_binop()
1469 if (coerce_obj == NULL) in half_binop()
1472 coercefunc = PyObject_GetAttr(v, coerce_obj); in half_binop()
1554 if (coerce_obj == NULL) { in instance_coerce()
1555 coerce_obj = PyString_InternFromString("__coerce__"); in instance_coerce()
1556 if (coerce_obj == NULL) in instance_coerce()
1559 coercefunc = PyObject_GetAttr(v, coerce_obj); in instance_coerce()