Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dclassobject.c1448 static PyObject *coerce_obj; variable
1466 if (coerce_obj == NULL) { in half_binop()
1467 coerce_obj = PyString_InternFromString("__coerce__"); in half_binop()
1468 if (coerce_obj == NULL) in half_binop()
1471 coercefunc = PyObject_GetAttr(v, coerce_obj); in half_binop()
1553 if (coerce_obj == NULL) { in instance_coerce()
1554 coerce_obj = PyString_InternFromString("__coerce__"); in instance_coerce()
1555 if (coerce_obj == NULL) in instance_coerce()
1558 coercefunc = PyObject_GetAttr(v, coerce_obj); in instance_coerce()