Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __index__
Method
__index__
Lib/test/test_io.py:79–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
77
78
class
BadIndex:
79
def
__index__(self):
80
1/0
81
82
class
MockRawIOWithoutRead:
83
""
"A RawIO implementation without read(), so
as
to exercise the default
Callers
2
__init__
Method · 0.45
wait
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected