Searched refs:nb_coerce (Results 1 – 4 of 4) sorted by relevance
1626 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()
3911 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,
245 coercion nb_coerce; member
1186 coercion nb_coerce; /* Used by the coerce() function */1222 the coercion method specified by the :attr:`nb_coerce` member to convert the1225 .. c:member:: coercion PyNumberMethods.nb_coerce