| 1826 | } |
| 1827 | |
| 1828 | static PyObject * |
| 1829 | npyiter_iterationneedsapi_get( |
| 1830 | NewNpyArrayIterObject *self, void *NPY_UNUSED(ignored)) |
| 1831 | { |
| 1832 | if (self->iter == NULL) { |
| 1833 | PyErr_SetString(PyExc_ValueError, |
| 1834 | "Iterator is invalid"); |
| 1835 | return NULL; |
| 1836 | } |
| 1837 | |
| 1838 | if (NpyIter_IterationNeedsAPI(self->iter)) { |
| 1839 | Py_RETURN_TRUE; |
| 1840 | } |
| 1841 | else { |
| 1842 | Py_RETURN_FALSE; |
| 1843 | } |
| 1844 | } |
| 1845 | |
| 1846 | static PyObject * |
| 1847 | npyiter_has_multi_index_get( |
nothing calls this directly
no test coverage detected