Home
last modified time | relevance | path

Searched refs:nb_bool (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Objects/
Dtypeslots.inc10 offsetof(PyHeapTypeObject, as_number.nb_bool),
Dobject.c1403 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,
Drangeobject.c667 .nb_bool = (inquiry)range_bool,
Dtypeobject.c5214 COPYNUM(nb_bool); in inherit_slots()
7212 UNSLOT("__bool__", nb_bool, slot_nb_bool, wrap_inquirypred,
/external/python/cpython3/Include/cpython/
Dobject.h125 inquiry nb_bool; member
/external/python/pybind11/include/pybind11/detail/
Dcommon.h186 #define PYBIND11_NB_BOOL(ptr) ((ptr)->nb_bool)
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst238 …| :c:member:`~PyNumberMethods.nb_bool` | :c:type:`inquiry` | __…
1988 inquiry nb_bool;
2045 .. c:member:: inquiry PyNumberMethods.nb_bool
/external/python/cpython3/Doc/whatsnew/
D3.0.rst876 ``nb_nonzero`` is now ``nb_bool``.
/external/python/cpython3/Misc/
DHISTORY17269 - Renamed nb_nonzero to nb_bool and __nonzero__ to __bool__.