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

Method __len__

numpy/core/tests/test_array_coercion.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 # also _SequenceLike. This shouldn't matter, but keep it for now
44 # for __array__ and not the others.
45 def __len__(self):
46 raise TypeError
47
48 def __getitem__(self):
49 raise TypeError

Callers 1

__len__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected