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

Method __init__

numpy/ma/tests/test_subclassing.py:87–89  ·  view source on GitHub ↗
(self, a)

Source from the content-addressed store, hash-verified

85 roughly following MaskedIterator
86 """
87 def __init__(self, a):
88 self._original = a
89 self._dataiter = a.view(np.ndarray).flat
90
91 def __iter__(self):
92 return self

Callers

nothing calls this directly

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected