MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / remove

Method remove

tools/python-3.11.9-amd64/Lib/mailbox.py:46–48  ·  view source on GitHub ↗

Remove the keyed message; raise KeyError if it doesn't exist.

(self, key)

Source from the content-addressed store, hash-verified

44 raise NotImplementedError('Method must be implemented by subclass')
45
46 def remove(self, key):
47 """Remove the keyed message; raise KeyError if it doesn't exist."""
48 raise NotImplementedError('Method must be implemented by subclass')
49
50 def __delitem__(self, key):
51 self.remove(key)

Callers 2

__delitem__Method · 0.95
discardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected