Example #1
0
 def __str__(self):
     return format_line(*self.to_tuple())
Example #2
0
 def write(self, command, parameters=None, trailing=None):
     """Format an IRC message and send it"""
     self._write(format_line(None, command, parameters, trailing))