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

Method __len__

numpy/lib/user_array.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43
44 # Array as sequence
45 def __len__(self):
46 return len(self.array)
47
48 def __getitem__(self, index):
49 return self._rc(self.array[index])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected