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

Method get_folder

Lib/mailbox.py:495–499  ·  view source on GitHub ↗

Return a Maildir instance for the named folder.

(self, folder)

Source from the content-addressed store, hash-verified

493 return result
494
495 def get_folder(self, folder):
496 """Return a Maildir instance for the named folder."""
497 return Maildir(os.path.join(self._path, '.' + folder),
498 factory=self._factory,
499 create=False)
500
501 def add_folder(self, folder):
502 """Create a folder and return a Maildir instance representing it."""

Callers

nothing calls this directly

Calls 2

MaildirClass · 0.85
joinMethod · 0.45

Tested by

no test coverage detected