MCPcopy Index your code
hub / github.com/python/cpython / get_message

Method get_message

Lib/mailbox.py:86–88  ·  view source on GitHub ↗

Return a Message representation or raise a KeyError.

(self, key)

Source from the content-addressed store, hash-verified

84 return self._factory(file)
85
86 def get_message(self, key):
87 """Return a Message representation or raise a KeyError."""
88 raise NotImplementedError('Method must be implemented by subclass')
89
90 def get_string(self, key):
91 """Return a string representation or raise a KeyError.

Callers 2

__getitem__Method · 0.95
test_notimplementedMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_notimplementedMethod · 0.76