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

Method __len__

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

Source from the content-addressed store, hash-verified

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"]
54

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected