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

Method __len__

numpy/core/tests/test_indexing.py:504–505  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

502 return 0
503
504 def __len__(self):
505 return 1
506
507 def __getitem__(self, item):
508 raise IndexError('Not possible')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected