Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __setitem__
Method
__setitem__
Lib/test/test_richcmp.py:45–46 ·
view source on GitHub ↗
(self, i, v)
Source
from the content-addressed store, hash-verified
43
return
self.data[i]
44
45
def
__setitem__(self, i, v):
46
self.data[i] = v
47
48
__hash__ = None
# Vectors cannot be hashed
49
Callers
3
test_set_item
Method · 0.45
test_setdelitem
Method · 0.45
test_as_dict
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected