#NEWLINE# def dispatch( self , * args , **kwargs ) : #NEWLINE# #INDENT# 'Find and call local method.' #NEWLINE# action = kwargs . pop ( 'action' , 'default' ) #NEWLINE# action_method = getattr ( self , str ( args ) , self . default ) #NEWLINE# return action_method ( * args , ** kwargs )