Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ __setitem__
Method
__setitem__
Hash.py:82–83 ·
view source on GitHub ↗
(self, key, data)
Source
from the content-addressed store, hash-verified
80
return
self.get(key)
81
82
def
__setitem__(self, key, data):
83
self.put(key, data)
84
85
H = HashTable()
86
H[54] =
'cat'
Callers
nothing calls this directly
Calls
1
put
Method · 0.95
Tested by
no test coverage detected