Searched refs:nb_bool (Results 1 – 9 of 9) sorted by relevance
10 offsetof(PyHeapTypeObject, as_number.nb_bool),
1403 Py_TYPE(v)->tp_as_number->nb_bool != NULL) in PyObject_IsTrue()1404 res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v); in PyObject_IsTrue()1684 .nb_bool = notimplemented_bool,
667 .nb_bool = (inquiry)range_bool,
5214 COPYNUM(nb_bool); in inherit_slots()7212 UNSLOT("__bool__", nb_bool, slot_nb_bool, wrap_inquirypred,
125 inquiry nb_bool; member
186 #define PYBIND11_NB_BOOL(ptr) ((ptr)->nb_bool)
238 …| :c:member:`~PyNumberMethods.nb_bool` | :c:type:`inquiry` | __…1988 inquiry nb_bool;2045 .. c:member:: inquiry PyNumberMethods.nb_bool
876 ``nb_nonzero`` is now ``nb_bool``.
17269 - Renamed nb_nonzero to nb_bool and __nonzero__ to __bool__.