(self, x)
| 2867 | |
| 2868 | class MyArray: |
| 2869 | def __init__(self, x): |
| 2870 | self.x = x |
| 2871 | self.dtype = x.dtype |
| 2872 | self.shape = x.shape |
| 2873 | self.ndim = len(x.shape) |
| 2874 | |
| 2875 | def __getitem__(self, i): |
| 2876 | return self.x[i] |
nothing calls this directly
no outgoing calls
no test coverage detected