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

Class A

numpy/typing/tests/data/pass/array_like.py:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22class A:
23 def __array__(self, dtype: None | np.dtype[Any] = None) -> np.ndarray:
24 return np.array([1, 2, 3])
25
26
27x13: ArrayLike = A()

Callers 1

array_like.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected