def __eq__(self, other):
        """
        Compare for equality the items contained in self
        """
        return all(x == y for x, y in zip(self, other))
def __eq__ ( self , other ) : return all ( x == y for x , y in zip ( self , other ) )
Compare for equality the items contained in self