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

Method __array_wrap__

numpy/lib/tests/test_function_base.py:2461–2462  ·  view source on GitHub ↗
(self, arr)

Source from the content-addressed store, hash-verified

2459 __array_interface__ = a.__array_interface__
2460
2461 def __array_wrap__(self, arr):
2462 return self
2463
2464 # E.g. pandas series survive ufunc calls through array-wrap:
2465 assert isinstance(np.abs(array_like()), array_like)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected