[Lldb-commits] [lldb] r256053 - __ne__ is the actual Python operator; __neq__ is a typo

Enrico Granata via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 18 14:46:58 PST 2015


Author: enrico
Date: Fri Dec 18 16:46:58 2015
New Revision: 256053

URL: http://llvm.org/viewvc/llvm-project?rev=256053&view=rev
Log:
__ne__ is the actual Python operator; __neq__ is a typo

Modified:
    lldb/trunk/scripts/Python/python-extensions.swig

Modified: lldb/trunk/scripts/Python/python-extensions.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/python-extensions.swig?rev=256053&r1=256052&r2=256053&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/python-extensions.swig (original)
+++ lldb/trunk/scripts/Python/python-extensions.swig Fri Dec 18 16:46:58 2015
@@ -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)
 %}
 




More information about the lldb-commits mailing list