Searched refs:nb_float (Results 1 – 7 of 7) sorted by relevance
1189 if (nbr == NULL || nbr->nb_float == NULL || in complex_new()1190 ((i != NULL) && (nbi == NULL || nbi->nb_float == NULL))) { in complex_new()1248 tmp = (*nbi->nb_float)(i); in complex_new()
887 o->ob_type->tp_as_number->nb_float);1800 if (m && m->nb_float) { /* This should include subclasses of float */1801 PyObject *res = m->nb_float(o);
274 if ((nb = Py_TYPE(op)->tp_as_number) == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble()279 fo = (PyFloatObject*) (*nb->nb_float) (op); in PyFloat_AsDouble()
3914 COPYNUM(nb_float);6077 UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,
248 unaryfunc nb_float; member
1189 unaryfunc nb_float;
4595 nb_float slot, rather than simply checking whether it has a non-NULL4854 - PyNumber_Check() now checks that the object has a nb_int or nb_float