summaryrefslogtreecommitdiff
path: root/numpy/core/_internal.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/_internal.py')
-rw-r--r--numpy/core/_internal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py
index 163145cdd..004c2762b 100644
--- a/numpy/core/_internal.py
+++ b/numpy/core/_internal.py
@@ -206,6 +206,8 @@ class dummy_ctype(object):
return self._cls(other)
def __eq__(self, other):
return self._cls == other._cls
+ def __ne__(self, other):
+ return self._cls != other._cls
def _getintp_ctype():
val = _getintp_ctype.cache