(self, f)
Called before writing each message to file f.
Called before writing each message to file f.
Called before writing each message to file f .
def _pre_message_hook(self, f):
        """Called before writing each message to file f."""
        f.write(b'\001\001\001\001' + linesep)
def _pre_message_hook ( self , f ) : f . write ( b'\001\001\001\001' + linesep )