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

Method __len__

numpy/core/tests/test_multiarray.py:1056–1057  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1054
1055 class Map:
1056 def __len__(self):
1057 return 1
1058
1059 def __getitem__(self, index):
1060 raise KeyError()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected