From 31ccb51a7f1b6fddaa684095d78c4532598cf51d Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 18 Dec 2015 22:46:58 +0000 Subject: [PATCH] __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(-) diff --git a/lldb/scripts/Python/python-extensions.swig b/lldb/scripts/Python/python-extensions.swig index e81d0d9795eb..fae7f401bf13 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) %}