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

Method __array__

numpy/core/tests/test_array_coercion.py:709–710  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

707 pass
708
709 def __array__(self):
710 pass
711
712 arr = np.array(ArrayLike)
713 assert arr[()] is ArrayLike

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected