Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __init__
Method
__init__
numpy/core/tests/test_scalarmath.py:705–706 ·
view source on GitHub ↗
(self, arr)
Source
from the content-addressed store, hash-verified
703
# See also gh-7428.
704
class
ArrayLike:
705
def
__init__(self, arr):
706
self.arr = arr
707
def
__array__(self):
708
return
self.arr
709
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected