MCPcopy 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
78class BadIndex:
79 def __index__(self):
80 1/0
81
82class MockRawIOWithoutRead:
83 """A RawIO implementation without read(), so as to exercise the default

Callers 2

__init__Method · 0.45
waitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected