Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __iadd__
Method
__iadd__
numpy/ma/tests/test_subclassing.py:41–44 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
39
return
result
40
41
def
__iadd__(self, other):
42
result = super().__iadd__(other)
43
result.info[
'iadded'
] = result.info.get(
'iadded'
, 0) + 1
44
return
result
45
46
47
subarray = SubArray
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected