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

Method __init__

Lib/mailbox.py:37–40  ·  view source on GitHub ↗

Initialize a Mailbox instance.

(self, path, factory=None, create=True)

Source from the content-addressed store, hash-verified

35 """A group of messages in a particular place."""
36
37 def __init__(self, path, factory=None, create=True):
38 """Initialize a Mailbox instance."""
39 self._path = os.path.abspath(os.path.expanduser(path))
40 self._factory = factory
41
42 def add(self, message):
43 """Add message and return assigned key."""

Callers

nothing calls this directly

Calls 1

expanduserMethod · 0.80

Tested by

no test coverage detected