MCPcopy Create free account
hub / github.com/numpy/numpy / tuple_all_none

Function tuple_all_none

numpy/core/src/umath/ufunc_object.c:3887–3896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3885
3886
3887static npy_bool
3888tuple_all_none(PyObject *tup) {
3889 npy_intp i;
3890 for (i = 0; i < PyTuple_GET_SIZE(tup); ++i) {
3891 if (PyTuple_GET_ITEM(tup, i) != Py_None) {
3892 return NPY_FALSE;
3893 }
3894 }
3895 return NPY_TRUE;
3896}
3897
3898
3899static int

Callers 1

_set_full_args_outFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected