def __le__(self, other): return InequalitySubsetState(self, other, operator.le)
def __gt__(self, other): return InequalitySubsetState(self, other, operator.gt)
def __ne__(self, other): if isinstance(other, (numbers.Number, six.string_types)): return InequalitySubsetState(self, other, operator.ne) return other is not self
def _load_inequality_subset_state(rec, context): return InequalitySubsetState(context.object(rec['left']), context.object(rec['right']), SYMOP[rec['op']])
def __ne__(self, other): if np.issubsctype(type(other), np.number): return InequalitySubsetState(self, other, operator.ne) return other is not self
def __eq__(self, other): if isinstance(other, (numbers.Number, str)): return InequalitySubsetState(self, other, operator.eq) return other is self