#NEWLINE# def remove_trait( self , name ) : #NEWLINE# #INDENT# trait = self . get_trait ( name ) #NEWLINE# if trait : #NEWLINE# #INDENT# self . on_trait_change ( self . _trait_modified , self , remove = True ) #NEWLINE# #UNINDENT# super ( VariableTree , self ) . remove_trait ( name )