MCPcopy Index your code
hub / github.com/RustPython/RustPython / BadIndex

Class BadIndex

Lib/test/test_io.py:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
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 1

Calls

no outgoing calls

Tested by 1