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

Method _pre_mailbox_hook

Lib/mailbox.py:772–774  ·  view source on GitHub ↗

Called before writing the mailbox to file f.

(self, f)

Source from the content-addressed store, hash-verified

770 _lock_file(self._file, dotlock=False)
771
772 def _pre_mailbox_hook(self, f):
773 """Called before writing the mailbox to file f."""
774 return
775
776 def _pre_message_hook(self, f):
777 """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