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

Function npyiter_exit

numpy/core/src/multiarray/nditer_pywrap.c:2349–2354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2347}
2348
2349static PyObject *
2350npyiter_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
2356static PyMethodDef npyiter_methods[] = {
2357 {"reset",

Callers

nothing calls this directly

Calls 1

npyiter_closeFunction · 0.85

Tested by

no test coverage detected