| 2347 | } |
| 2348 | |
| 2349 | static PyObject * |
| 2350 | npyiter_exit(NewNpyArrayIterObject *self, PyObject *NPY_UNUSED(args)) |
| 2351 | { |
| 2352 | /* even if called via exception handling, writeback any data */ |
| 2353 | return npyiter_close(self, NULL); |
| 2354 | } |
| 2355 | |
| 2356 | static PyMethodDef npyiter_methods[] = { |
| 2357 | {"reset", |
nothing calls this directly
no test coverage detected