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/ma/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/ma/extras.py') diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index 0a68dfc7d..9084ae77f 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -215,7 +215,7 @@ def masked_all_like(arr): #####-------------------------------------------------------------------------- #---- --- Standard functions --- #####-------------------------------------------------------------------------- -class _fromnxfunction: +class _fromnxfunction(object): """ Defines a wrapper to adapt NumPy functions to masked arrays. -- cgit v1.2.1