#NEWLINE# def reverse_regions( self , region1 , region2 ) : #NEWLINE# #INDENT# r1 = self . _regions . index ( region1 [ 0 ] ) #NEWLINE# r2 = self . _regions . index ( region2 [ 0 ] ) #NEWLINE# ( self . _regions [ r2 ] , self . _regions [ region2 ] ) = ( self . _regions [ r1 ] , self . _regions [ r2 ] )