#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( not isinstance ( other , self . __class__ ) ) : #NEWLINE# #INDENT# return NotImplemented #NEWLINE# #UNINDENT# return ( self . data == set ( ( ref ( item ) for item in item ) ) )