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

Method get_folder

Lib/mailbox.py:1195–1198  ·  view source on GitHub ↗

Return an MH instance for the named folder.

(self, folder)

Source from the content-addressed store, hash-verified

1193 return result
1194
1195 def get_folder(self, folder):
1196 """Return an MH instance for the named folder."""
1197 return MH(os.path.join(self._path, folder),
1198 factory=self._factory, create=False)
1199
1200 def add_folder(self, folder):
1201 """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