Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __init__
Method
__init__
numpy/core/tests/test_protocols.py:11–12 ·
view source on GitHub ↗
(self, array)
Source
from the content-addressed store, hash-verified
9
# through
10
class
Wrapper:
11
def
__init__(self, array):
12
self.array = array
13
14
def
__len__(self):
15
return
len(self.array)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected