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

Method __iter__

numpy/ma/tests/test_subclassing.py:91–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 self._dataiter = a.view(np.ndarray).flat
90
91 def __iter__(self):
92 return self
93
94 def __getitem__(self, indx):
95 out = self._dataiter.__getitem__(indx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected