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

Method get_folder

Lib/mailbox.py:1202–1205  ·  view source on GitHub ↗

Return an MH instance for the named folder.

(self, folder)

Source from the content-addressed store, hash-verified

1200 return result
1201
1202 def get_folder(self, folder):
1203 """Return an MH instance for the named folder."""
1204 return MH(os.path.join(self._path, folder),
1205 factory=self._factory, create=False)
1206
1207 def add_folder(self, folder):
1208 """Create a folder and return an MH instance representing it."""

Callers 3

test_get_folderMethod · 0.45
test_folderMethod · 0.45
test_get_folderMethod · 0.45

Calls 2

MHClass · 0.85
joinMethod · 0.45

Tested by 3

test_get_folderMethod · 0.36
test_folderMethod · 0.36
test_get_folderMethod · 0.36