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

Method __init__

numpy/core/tests/test_multiarray.py:1111–1112  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1109 # gh-7393
1110 class A:
1111 def __init__(self, data):
1112 self._data = data
1113 def __getitem__(self, item):
1114 return type(self)(self._data[item])
1115 def __len__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected