#NEWLINE# def act( self , callback = None ) : #NEWLINE# #INDENT# mode = self . dispatcher . currentMode #NEWLINE# if ( mode == 'operatorPending' ) : #NEWLINE# #INDENT# operator = self . command . lpOperator ( ) #NEWLINE# return self . actionManager . action ( mode , operator ) . act ( self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . dispatcher . extend ( ) #NEWLINE# return ( 'operatorPending' , self )