Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ __delitem__
Method
__delitem__
pattern/web/cache/__init__.py:101–104 ·
view source on GitHub ↗
(self, k)
Source
from the content-addressed store, hash-verified
99
f.close()
100
101
def
__delitem__(self, k):
102
try
: os.unlink(self._hash(k))
103
except
OSError:
104
pass
105
106
def
get(self, k, unicode=True):
107
""
" Returns the data stored
with
the given id.
Callers
nothing calls this directly
Calls
1
_hash
Method · 0.95
Tested by
no test coverage detected