From 7748f26fdbc44cf6d06c270f0a166d797b574744 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Mon, 24 Jul 2017 17:00:10 +0100 Subject: MAINT: Use new-style classes on 2.7 Deliberately avoids tests, to prevent introducing a failure on old-style classes later. --- numpy/_globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/_globals.py') diff --git a/numpy/_globals.py b/numpy/_globals.py index 64a84da96..2d7b69bc4 100644 --- a/numpy/_globals.py +++ b/numpy/_globals.py @@ -53,7 +53,7 @@ class VisibleDeprecationWarning(UserWarning): pass -class _NoValue: +class _NoValue(object): """Special keyword value. This class may be used as the default value assigned to a deprecated -- cgit v1.2.1