#NEWLINE# def listener( obj , trait_name , old , new ) : #NEWLINE# #INDENT# ' A useful trait change handler for testing! ' #NEWLINE# listener . obj = new #NEWLINE# listener . trait_name = trait_name #NEWLINE# listener . old = old #NEWLINE# listener . new = new #NEWLINE# return