Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __len__
Method
__len__
numpy/lib/tests/test_loadtxt.py:826–827 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
824
def
test_iterator_fails_getting_next_line():
825
class
BadSequence:
826
def
__len__(self):
827
return
100
828
829
def
__getitem__(self, item):
830
if
item == 50:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected