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

Method __add__

numpy/ma/tests/test_subclassing.py:36–39  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

34 return
35
36 def __add__(self, other):
37 result = super().__add__(other)
38 result.info['added'] = result.info.get('added', 0) + 1
39 return result
40
41 def __iadd__(self, other):
42 result = super().__iadd__(other)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected