(self,other)
Test for equality by diffing records
Test for equality by diffing records
Test for equality by diffing records
def __eq__(self,other):
        """
            Test for equality by diffing records
        """
        if type(other) != type(self):
            return False
        else:
            return self.diff(other) == []
def __eq__ ( self , other ) : if type ( other ) != type ( self ) : return False else : return self . diff ( other ) == [ ]