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

Method _pre_mailbox_hook

Lib/mailbox.py:779–781  ·  view source on GitHub ↗

Called before writing the mailbox to file f.

(self, f)

Source from the content-addressed store, hash-verified

777 _lock_file(self._file, dotlock=False)
778
779 def _pre_mailbox_hook(self, f):
780 """Called before writing the mailbox to file f."""
781 return
782
783 def _pre_message_hook(self, f):
784 """Called before writing each message to file f."""

Callers 2

flushMethod · 0.95
_append_messageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected