#NEWLINE# def get_registry( self , instance ) : #NEWLINE# #INDENT# if ( ATTRIBUTE_REGISTRY not in instance . __dict__ ) : #NEWLINE# #INDENT# instance . __dict__ [ ATTRIBUTE_REGISTRY ] = { #NEWLINE# #INDENT# 'added' : set ( ) , #NEWLINE# 'removed' : set ( ) , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return instance . __dict__ [ ATTRIBUTE_REGISTRY ]