MCPcopy Index your code
hub / github.com/RustPython/RustPython / remove

Method remove

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 3

__delitem__Method · 0.95
discardMethod · 0.95
test_notimplementedMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_notimplementedMethod · 0.76