Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 3596f0e

Browse files
committed
Remove buggy and unneeded __ne__
Buggy due to missing negate. Unneeded because it is provided by default.
1 parent b29e307 commit 3596f0e

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎numba/core/targetconfig.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,6 @@ def __eq__(self, other):
147147
else:
148148
return NotImplemented
149149

150-
def __ne__(self, other):
151-
eq = self.__eq__(other)
152-
if eq is NotImplemented:
153-
return NotImplemented
154-
else:
155-
return eq
156-
157150
def values(self):
158151
"""Returns a dict of all the values
159152
"""

0 commit comments

Comments
 (0)