#NEWLINE# def add_theme( self , other ) : #NEWLINE# #INDENT# "Add themes together.\n\n        Subclasses should not override this method.\n\n        This will be called when adding two instances of class 'theme'\n        together.\n        A complete theme will annihilate any previous themes. Partial themes\n        can be added together and can be added to a complete theme.\n        " #NEWLINE# if other . complete : #NEWLINE# #INDENT# return other #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# theme_copy = deepcopy ( self ) #NEWLINE# theme_copy . element_themes = merge_element_targets ( deepcopy ( self . element_themes ) , deepcopy ( other . element_themes ) ) #NEWLINE# return theme_copy