MCPcopy Index your code
hub / github.com/python/cpython / __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 __enter__(self):
43 self.lock()

Callers

nothing calls this directly

Calls 2

expanduserMethod · 0.80
abspathMethod · 0.45

Tested by

no test coverage detected