#NEWLINE# def _broadcast_to_map( self , method , data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , send_to_myself = False ) : #NEWLINE# #INDENT# data [ 'method' ] = method #NEWLINE# self . broadcast ( clients = [ maps_participant for maps_participant in self . _get_map_participants ( data [ 'map_pk' ] ) if ( ( maps_participant != self ) or send_to_myself ) ] , message = json_encode ( data ) )