Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __init__
Method
__init__
numpy/core/tests/test_ufunc.py:1939–1940 ·
view source on GitHub ↗
(self, shape)
Source
from the content-addressed store, hash-verified
1937
getitem_count = 0
1938
1939
def
__init__(self, shape):
1940
self.shape = shape
1941
1942
def
__len__(self):
1943
return
self.shape[0]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected