#NEWLINE# def send_msg( self , client , method , msg , pickle_protocol = None ) : #NEWLINE# #INDENT# if ( pickle_protocol is None ) : #NEWLINE# #INDENT# pickle_protocol = msg . pickle_protocol #NEWLINE# #UNINDENT# data = pack_msg ( method , msg , pickle_protocol = pickle_protocol ) #NEWLINE# self . _send ( client , data )