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

Method __array_ufunc__

numpy/core/tests/test_umath.py:3728–3729  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

3726
3727 class GreedyArray:
3728 def __array_ufunc__(self, *args, **kwargs):
3729 return self
3730
3731 greedy = GreedyArray()
3732 assert_(np.negative(greedy) is greedy)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected