Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __setitem__
Method
__setitem__
Lib/test/test_shelve.py:24–25 ·
view source on GitHub ↗
(self, key, value)
Source
from the content-addressed store, hash-verified
22
return
self.d[L1(key)]
23
24
def
__setitem__(self, key, value):
25
self.d[L1(key)] = value
26
27
def
__delitem__(self, key):
28
del self.d[L1(key)]
Callers
nothing calls this directly
Calls
1
L1
Function · 0.85
Tested by
no test coverage detected