Home
last modified time | relevance | path

Searched refs:nb_nonzero (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Include/
Dobject.h238 inquiry nb_nonzero; member
/external/python/cpython2/Objects/
Dobject.c1582 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()
Dtypeobject.c3967 COPYNUM(nb_nonzero);
6121 UNSLOT("__nonzero__", nb_nonzero, slot_nb_nonzero, wrap_inquirypred,
/external/python/pybind11/include/pybind11/detail/
Dcommon.h214 #define PYBIND11_NB_BOOL(ptr) ((ptr)->nb_nonzero)
/external/python/cpython3/Doc/whatsnew/
D3.0.rst876 ``nb_nonzero`` is now ``nb_bool``.
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1164 inquiry nb_nonzero; /* Used by PyObject_IsTrue */
/external/python/cpython3/Misc/
DHISTORY17269 - Renamed nb_nonzero to nb_bool and __nonzero__ to __bool__.