#NEWLINE# def _get_next_perspective( self , window ) : #NEWLINE# #INDENT# ' Return the first perspective that is not the active one! ' #NEWLINE# if ( window . active_perspective is window . perspectives [ 0 ] ) : #NEWLINE# #INDENT# index = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# index = 0 #NEWLINE# #UNINDENT# return window . perspectives [ index ]