summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index dbd619b80..861ca268d 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -110,7 +110,7 @@ def get_object_signature(obj):
"""
try:
sig = formatargspec(*getargspec(obj))
- except TypeError, errmsg:
+ except TypeError as errmsg:
sig = ''
# msg = "Unable to retrieve the signature of %s '%s'\n"\
# "(Initial error message: %s)"