MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_folder

Method get_folder

tools/python-3.11.9-amd64/Lib/mailbox.py:445–449  ·  view source on GitHub ↗

Return a Maildir instance for the named folder.

(self, folder)

Source from the content-addressed store, hash-verified

443 return result
444
445 def get_folder(self, folder):
446 """Return a Maildir instance for the named folder."""
447 return Maildir(os.path.join(self._path, '.' + folder),
448 factory=self._factory,
449 create=False)
450
451 def add_folder(self, folder):
452 """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