#NEWLINE# def __get_pure_state__( self ) : #NEWLINE# #INDENT# d = self . __dict__ . copy ( ) #NEWLINE# for x in [ 'renwin' , 'ui' , 'pick_handler' , '__sync_trait__' , '__traits_listener__' ] : #NEWLINE# #INDENT# d . pop ( self , None ) #NEWLINE# #UNINDENT# return d