| 1844 | } |
| 1845 | |
| 1846 | static PyObject * |
| 1847 | npyiter_has_multi_index_get( |
| 1848 | NewNpyArrayIterObject *self, void *NPY_UNUSED(ignored)) |
| 1849 | { |
| 1850 | if (self->iter == NULL) { |
| 1851 | PyErr_SetString(PyExc_ValueError, |
| 1852 | "Iterator is invalid"); |
| 1853 | return NULL; |
| 1854 | } |
| 1855 | |
| 1856 | if (NpyIter_HasMultiIndex(self->iter)) { |
| 1857 | Py_RETURN_TRUE; |
| 1858 | } |
| 1859 | else { |
| 1860 | Py_RETURN_FALSE; |
| 1861 | } |
| 1862 | } |
| 1863 | |
| 1864 | static PyObject * |
| 1865 | npyiter_has_index_get(NewNpyArrayIterObject *self, void *NPY_UNUSED(ignored)) |
nothing calls this directly
no test coverage detected