summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-07-24 17:00:10 +0100
committerEric Wieser <wieser.eric@gmail.com>2017-07-24 17:00:10 +0100
commit7748f26fdbc44cf6d06c270f0a166d797b574744 (patch)
treea260c4d9157ab8998952239d29f8941a8ce8a39d /numpy/ma/extras.py
parent6958be1c9180bd52a7aaf979718b2b851f280055 (diff)
downloadnumpy-7748f26fdbc44cf6d06c270f0a166d797b574744.tar.gz
MAINT: Use new-style classes on 2.7
Deliberately avoids tests, to prevent introducing a failure on old-style classes later.
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py2
1 files changed, 1 insertions, 1 deletions
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.