summaryrefslogtreecommitdiff
path: root/numpy/_globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_globals.py')
-rw-r--r--numpy/_globals.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/_globals.py b/numpy/_globals.py
index f5c0761b5..9f44c7729 100644
--- a/numpy/_globals.py
+++ b/numpy/_globals.py
@@ -15,8 +15,6 @@ That was not the case when the singleton classes were defined in the numpy
motivated this module.
"""
-from __future__ import division, absolute_import, print_function
-
__ALL__ = [
'ModuleDeprecationWarning', 'VisibleDeprecationWarning', '_NoValue'
]
@@ -56,7 +54,7 @@ class VisibleDeprecationWarning(UserWarning):
VisibleDeprecationWarning.__module__ = 'numpy'
-class _NoValueType(object):
+class _NoValueType:
"""Special keyword value.
The instance of this class may be used as the default value assigned to a