Searched refs:nb_bool (Results 1 – 9 of 9) sorted by relevance
10 offsetof(PyHeapTypeObject, as_number.nb_bool),
1455 v->ob_type->tp_as_number->nb_bool != NULL) in PyObject_IsTrue()1456 res = (*v->ob_type->tp_as_number->nb_bool)(v); in PyObject_IsTrue()
635 .nb_bool = (inquiry)range_bool,
5076 COPYNUM(nb_bool); in inherit_slots()7022 UNSLOT("__bool__", nb_bool, slot_nb_bool, wrap_inquirypred,
109 inquiry nb_bool; member
166 #define PYBIND11_NB_BOOL(ptr) ((ptr)->nb_bool)
245 …| :c:member:`~PyNumberMethods.nb_bool` | :c:type:`inquiry` | __…1998 inquiry nb_bool;2055 .. c:member:: inquiry PyNumberMethods.nb_bool
876 ``nb_nonzero`` is now ``nb_bool``.
17269 - Renamed nb_nonzero to nb_bool and __nonzero__ to __bool__.