Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ VerySimpleSubClass
Class
VerySimpleSubClass
numpy/lib/tests/test_stride_tricks.py:535–537 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
533
534
535
class
VerySimpleSubClass(np.ndarray):
536
def
__new__(cls, *args, **kwargs):
537
return
np.array(*args, subok=True, **kwargs).view(cls)
538
539
540
class
SimpleSubClass(VerySimpleSubClass):
Callers
1
test_subclasses
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_subclasses
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…