Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __index__
Method
__index__
Lib/test/test_memoryview.py:687–689 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
685
ba = bytearray(size)
686
class
MyIndex:
687
def
__index__(self):
688
release()
689
return
4
690
class
MyFloat:
691
def
__float__(self):
692
release()
Callers
nothing calls this directly
Calls
1
release
Function · 0.85
Tested by
no test coverage detected