schema.py
changeset 10661 e6eb0c7c2e98
parent 10653 42c5bd7286b7
child 10662 10942ed172de
equal deleted inserted replaced
10660:97f6b3d655fc 10661:e6eb0c7c2e98
   250 
   250 
   251     def __eq__(self, other):
   251     def __eq__(self, other):
   252         if hasattr(other, 'expression'):
   252         if hasattr(other, 'expression'):
   253             return self.expression == other.expression
   253             return self.expression == other.expression
   254         return False
   254         return False
       
   255 
       
   256     def __ne__(self, other):
       
   257         return not (self == other)
   255 
   258 
   256     def __hash__(self):
   259     def __hash__(self):
   257         return hash(self.expression)
   260         return hash(self.expression)
   258 
   261 
   259     def __deepcopy__(self, memo):
   262     def __deepcopy__(self, memo):