Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __index__
Method
__index__
Lib/test/test_memoryview.py:752–754 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
750
ba = bytearray(size)
751
class
MyIndex:
752
def
__index__(self):
753
release()
754
return
4
755
class
MyFloat:
756
def
__float__(self):
757
release()
Callers
nothing calls this directly
Calls
1
release
Function · 0.85
Tested by
no test coverage detected