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

Method __setitem__

Lib/mailbox.py:60–62  ·  view source on GitHub ↗

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

(self, key, message)

Source from the content-addressed store, hash-verified

58 pass
59
60 def __setitem__(self, key, message):
61 """Replace the keyed message; raise KeyError if it doesn't exist."""
62 raise NotImplementedError('Method must be implemented by subclass')
63
64 def get(self, key, default=None):
65 """Return the keyed message, or default if it doesn't exist."""

Callers 1

test_notimplementedMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_notimplementedMethod · 0.76