summaryrefslogtreecommitdiff
path: root/numpy/core/_exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/_exceptions.py')
-rw-r--r--numpy/core/_exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/_exceptions.py b/numpy/core/_exceptions.py
index 5e17ed3b2..77aa2f6e1 100644
--- a/numpy/core/_exceptions.py
+++ b/numpy/core/_exceptions.py
@@ -135,7 +135,7 @@ class AxisError(ValueError, IndexError):
if msg_prefix is not None:
msg = "{}: {}".format(msg_prefix, msg)
- super(AxisError, self).__init__(msg)
+ super().__init__(msg)
@_display_as_base