Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dtypeslots.inc10 {offsetof(PyNumberMethods, nb_bool), offsetof(PyTypeObject, tp_as_number)},
Dobject.c1445 Py_TYPE(v)->tp_as_number->nb_bool != NULL) in PyObject_IsTrue()
1446 res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v); in PyObject_IsTrue()
1726 .nb_bool = notimplemented_bool,
Drangeobject.c687 .nb_bool = (inquiry)range_bool,
Dtypeobject.c5794 COPYNUM(nb_bool); in inherit_slots()
7995 UNSLOT("__bool__", nb_bool, slot_nb_bool, wrap_inquirypred,
/third_party/python/Include/cpython/
Dobject.h118 inquiry nb_bool; member
/third_party/python/Doc/c-api/
Dtypeobj.rst240 …| :c:member:`~PyNumberMethods.nb_bool` | :c:type:`inquiry` | __…
2104 inquiry nb_bool;
2161 .. c:member:: inquiry PyNumberMethods.nb_bool
/third_party/python/Doc/whatsnew/
D3.0.rst876 ``nb_nonzero`` is now ``nb_bool``.
/third_party/python/Misc/
DHISTORY17269 - Renamed nb_nonzero to nb_bool and __nonzero__ to __bool__.