summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/_globals.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/_globals.py b/numpy/_globals.py
index 593d90e42..1e4f26cd8 100644
--- a/numpy/_globals.py
+++ b/numpy/_globals.py
@@ -83,10 +83,6 @@ class _NoValueType:
cls.__instance = super().__new__(cls)
return cls.__instance
- # needed for python 2 to preserve identity through a pickle
- def __reduce__(self):
- return (self.__class__, ())
-
def __repr__(self):
return "<no value>"