Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __delitem__
Method
__delitem__
Lib/mailbox.py:57–58 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
55
raise
NotImplementedError(
'Method must be implemented by subclass'
)
56
57
def
__delitem__(self, key):
58
self.remove(key)
59
60
def
discard(self, key):
61
""
"If the keyed message exists, remove it."
""
Callers
1
test_notimplemented
Method · 0.95
Calls
1
remove
Method · 0.95
Tested by
1
test_notimplemented
Method · 0.76