Searched refs:nb_coerce (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Objects/ |
D | object.c | 1631 if (v->ob_type->tp_as_number && v->ob_type->tp_as_number->nb_coerce) { in PyNumber_CoerceEx() 1632 res = (*v->ob_type->tp_as_number->nb_coerce)(pv, pw); in PyNumber_CoerceEx() 1636 if (w->ob_type->tp_as_number && w->ob_type->tp_as_number->nb_coerce) { in PyNumber_CoerceEx() 1637 res = (*w->ob_type->tp_as_number->nb_coerce)(pw, pv); in PyNumber_CoerceEx()
|
D | typeobject.c | 3974 COPYNUM(nb_coerce); 5389 self->ob_type->tp_as_number->nb_coerce == slot_nb_coerce) { 5414 other->ob_type->tp_as_number->nb_coerce == slot_nb_coerce) { 6134 NBSLOT("__coerce__", nb_coerce, slot_nb_coerce, wrap_coercefunc,
|
/external/python/cpython2/Include/ |
D | object.h | 245 coercion nb_coerce; member
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 1171 coercion nb_coerce; /* Used by the coerce() function */ 1207 the coercion method specified by the :attr:`nb_coerce` member to convert the 1210 .. c:member:: coercion PyNumberMethods.nb_coerce
|
/external/python/cpython3/Misc/ |
D | HISTORY | 16667 - Three of PyNumberMethods' members, nb_coerce, nb_hex, and nb_oct, have been
|