forked from OSchip/llvm-project
__ne__ is the actual Python operator; __neq__ is a typo
llvm-svn: 256053
This commit is contained in:
parent
1ea4efb41a
commit
31ccb51a7f
|
@ -1058,7 +1058,7 @@ class value(object):
|
||||||
return self_val == other_val
|
return self_val == other_val
|
||||||
raise TypeError("Unknown type %s, No equality operation defined." % str(type(other)))
|
raise TypeError("Unknown type %s, No equality operation defined." % str(type(other)))
|
||||||
|
|
||||||
def __neq__(self, other):
|
def __ne__(self, other):
|
||||||
return not self.__eq__(other)
|
return not self.__eq__(other)
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue