#NEWLINE# def key_diff( self , diffmode = None ) : #NEWLINE# #INDENT# next_diff_mode = ( self . _current_diff_mode + 1 ) #NEWLINE# if ( next_diff_mode >= self . _number_of_diff_modes ) : #NEWLINE# #INDENT# next_diff_mode = 0 #NEWLINE# #UNINDENT# self . diff ( next_diff_mode )