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

Method __getitem__

numpy/array_api/_typing.py:50–50  ·  view source on GitHub ↗
(self, key: int, /)

Source from the content-addressed store, hash-verified

48
49class NestedSequence(Protocol[_T_co]):
50 def __getitem__(self, key: int, /) -> _T_co | NestedSequence[_T_co]: ...
51 def __len__(self, /) -> int: ...
52
53Device = Literal["cpu"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected