#NEWLINE# @ irc3d . extend #NEWLINE# def broadcast( self , client = None , clients = None , **kwargs ) : #NEWLINE# #INDENT# if ( clients is None ) : #NEWLINE# #INDENT# clients = self . context . clients . values ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# clients = [ self . get_client ( c ) for c in clients ] #NEWLINE# #UNINDENT# for c in clients : #NEWLINE# #INDENT# c . write ( kwargs [ 'broadcast' ] )