Searched refs:nb_nonzero (Results 1 – 7 of 7) sorted by relevance
238 inquiry nb_nonzero; member
1582 v->ob_type->tp_as_number->nb_nonzero != NULL) in PyObject_IsTrue()1583 res = (*v->ob_type->tp_as_number->nb_nonzero)(v); in PyObject_IsTrue()
3967 COPYNUM(nb_nonzero);6121 UNSLOT("__nonzero__", nb_nonzero, slot_nb_nonzero, wrap_inquirypred,
214 #define PYBIND11_NB_BOOL(ptr) ((ptr)->nb_nonzero)
876 ``nb_nonzero`` is now ``nb_bool``.
1164 inquiry nb_nonzero; /* Used by PyObject_IsTrue */
17269 - Renamed nb_nonzero to nb_bool and __nonzero__ to __bool__.