MCPcopy Index your code
hub / github.com/python/cpython / _post_initialize_hook

Method _post_initialize_hook

Lib/test/test_mailbox.py:1720–1721  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

1718 _factory = mailbox._mboxMMDFMessage
1719
1720 def _post_initialize_hook(self, msg):
1721 self._check_from(msg)
1722
1723 def test_initialize_with_unixfrom(self):
1724 # Initialize with a message that already has a _unixfrom attribute

Callers

nothing calls this directly

Calls 1

_check_fromMethod · 0.95

Tested by

no test coverage detected