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

Function iter_indices

numpy/core/tests/test_nditer.py:23–28  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

21 return ret
22
23def iter_indices(i):
24 ret = []
25 while not i.finished:
26 ret.append(i.index)
27 i.iternext()
28 return ret
29
30def iter_iterindices(i):
31 ret = []

Calls

no outgoing calls

Tested by

no test coverage detected