#NEWLINE# def onEvent( self , event , msg ) : #NEWLINE# #INDENT# for item in event . events [ event ] : #NEWLINE# #INDENT# subId = item [ 0 ] #NEWLINE# ( m , args , kw ) = item [ 1 ] #NEWLINE# m ( msg , subId , * args , ** kw )