diff options
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r-- | numpy/ma/core.py | 2 |
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)" |