Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobject.c1626 if (v->ob_type->tp_as_number && v->ob_type->tp_as_number->nb_coerce) { in PyNumber_CoerceEx()
1627 res = (*v->ob_type->tp_as_number->nb_coerce)(pv, pw); in PyNumber_CoerceEx()
1631 if (w->ob_type->tp_as_number && w->ob_type->tp_as_number->nb_coerce) { in PyNumber_CoerceEx()
1632 res = (*w->ob_type->tp_as_number->nb_coerce)(pw, pv); in PyNumber_CoerceEx()
Dtypeobject.c3911 COPYNUM(nb_coerce);
5326 self->ob_type->tp_as_number->nb_coerce == slot_nb_coerce) {
5351 other->ob_type->tp_as_number->nb_coerce == slot_nb_coerce) {
6071 NBSLOT("__coerce__", nb_coerce, slot_nb_coerce, wrap_coercefunc,
/external/python/cpython2/Include/
Dobject.h245 coercion nb_coerce; member
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1186 coercion nb_coerce; /* Used by the coerce() function */
1222 the coercion method specified by the :attr:`nb_coerce` member to convert the
1225 .. c:member:: coercion PyNumberMethods.nb_coerce