Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __next__
Method
__next__
numpy/ma/tests/test_subclassing.py:104–105 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
102
self._dataiter[index] = self._original._validate_input(value)
103
104
def
__next__(self):
105
return
next(self._dataiter).__array__().view(type(self._original))
106
107
108
class
ComplicatedSubArray(SubArray):
Callers
nothing calls this directly
Calls
3
next
Function · 0.50
view
Method · 0.45
__array__
Method · 0.45
Tested by
no test coverage detected