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

Method sum

numpy/core/tests/test_overrides.py:529–530  ·  view source on GitHub ↗
(self, axis, out)

Source from the content-addressed store, hash-verified

527 class MyArray(np.ndarray):
528
529 def sum(self, axis, out):
530 return 'summed'
531
532 def __array_function__(self, func, types, args, kwargs):
533 return super().__array_function__(func, types, args, kwargs)

Callers 3

test_override_sumMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected