Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __delitem__
Method
__delitem__
Lib/test/test_capi/test_dict.py:21–22 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
19
def
__setitem__(self, key, value):
20
raise
RuntimeError(
'do not set evil'
)
21
def
__delitem__(self, key):
22
raise
RuntimeError(
'do not del evil'
)
23
24
def
gen():
25
yield
'a'
Callers
1
test_method_called
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected