#NEWLINE# def _set_trait( self , notify ) : #NEWLINE# #INDENT# " Set the object's trait to the value of the extension point. " #NEWLINE# value = self . extension_registry . get_extensions ( self . extension_point_id ) #NEWLINE# traits = { #NEWLINE# #INDENT# self . trait_name : value , #NEWLINE# #UNINDENT# } #NEWLINE# self . obj . set ( trait_change_notify = notify , ** traits ) #NEWLINE# return