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

Method get_file

Lib/mailbox.py:101–103  ·  view source on GitHub ↗

Return a file-like representation or raise a KeyError.

(self, key)

Source from the content-addressed store, hash-verified

99 raise NotImplementedError('Method must be implemented by subclass')
100
101 def get_file(self, key):
102 """Return a file-like representation or raise a KeyError."""
103 raise NotImplementedError('Method must be implemented by subclass')
104
105 def iterkeys(self):
106 """Return an iterator over keys."""

Callers 2

__getitem__Method · 0.95
test_notimplementedMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_notimplementedMethod · 0.76