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

Method __init__

numpy/lib/tests/test_mixins.py:12–13  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

10
11class ArrayLike(np.lib.mixins.NDArrayOperatorsMixin):
12 def __init__(self, value):
13 self.value = np.asarray(value)
14
15 # One might also consider adding the built-in list type to this
16 # list, to support operations like np.add(array_like, list)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected