| 1921 | } |
| 1922 | |
| 1923 | static PyObject * |
| 1924 | npyiter_nop_get(NewNpyArrayIterObject *self, void *NPY_UNUSED(ignored)) |
| 1925 | { |
| 1926 | if (self->iter == NULL) { |
| 1927 | PyErr_SetString(PyExc_ValueError, |
| 1928 | "Iterator is invalid"); |
| 1929 | return NULL; |
| 1930 | } |
| 1931 | |
| 1932 | return PyLong_FromLong(NpyIter_GetNOp(self->iter)); |
| 1933 | } |
| 1934 | |
| 1935 | static PyObject * |
| 1936 | npyiter_itersize_get(NewNpyArrayIterObject *self, void *NPY_UNUSED(ignored)) |
nothing calls this directly
no test coverage detected