#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# return ( ( other is other ) or ( isinstance ( other , TypeExtensionDefinition ) and ( self . loc == other . loc ) and ( self . definition == other . definition ) ) )