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

Function iter_copy

numpy/core/src/multiarray/iterators.c:1027–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025}
1026
1027static PyObject *
1028iter_copy(PyArrayIterObject *it, PyObject *args)
1029{
1030 if (!PyArg_ParseTuple(args, "")) {
1031 return NULL;
1032 }
1033 return PyArray_Flatten(it->ao, 0);
1034}
1035
1036static PyMethodDef iter_methods[] = {
1037 /* to get array */

Callers

nothing calls this directly

Calls 1

PyArray_FlattenFunction · 0.85

Tested by

no test coverage detected