summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index a775a15bf..8c123bc3b 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -1483,7 +1483,7 @@ class MAxisConcatenator(AxisConcatenator):
# deprecate that class. In preparation, we use the unmasked version
# to construct the matrix (with copy=False for backwards compatibility
# with the .view)
- data = super(MAxisConcatenator, cls).makemat(arr.data, copy=False)
+ data = super().makemat(arr.data, copy=False)
return array(data, mask=arr.mask)
def __getitem__(self, key):
@@ -1491,7 +1491,7 @@ class MAxisConcatenator(AxisConcatenator):
if isinstance(key, str):
raise MAError("Unavailable for masked array.")
- return super(MAxisConcatenator, self).__getitem__(key)
+ return super().__getitem__(key)
class mr_class(MAxisConcatenator):