From 31ccb51a7f1b6fddaa684095d78c4532598cf51d Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 18 Dec 2015 22:46:58 +0000 Subject: __ne__ is the actual Python operator; __neq__ is a typo llvm-svn: 256053 --- lldb/scripts/Python/python-extensions.swig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/scripts/Python/python-extensions.swig') diff --git a/lldb/scripts/Python/python-extensions.swig b/lldb/scripts/Python/python-extensions.swig index e81d0d9..fae7f40 100644 --- a/lldb/scripts/Python/python-extensions.swig +++ b/lldb/scripts/Python/python-extensions.swig @@ -1058,7 +1058,7 @@ class value(object): return self_val == other_val 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) %} -- cgit v1.1