#NEWLINE# def send_packet( self , message , target = MessageTargetWatch ( ) ) : #NEWLINE# #INDENT# handlers = { #NEWLINE# #INDENT# MessageTargetWatch : message . _send_to_watch , #NEWLINE# MessageTargetPhone : self . _send_to_phone , #NEWLINE# #UNINDENT# } #NEWLINE# handlers [ type ( target ) ] ( message )