summaryrefslogtreecommitdiff
path: root/numpy/f2py
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/f2py
parent6958be1c9180bd52a7aaf979718b2b851f280055 (diff)
downloadpython-numpy-7748f26fdbc44cf6d06c270f0a166d797b574744.tar.gz
python-numpy-7748f26fdbc44cf6d06c270f0a166d797b574744.tar.bz2
python-numpy-7748f26fdbc44cf6d06c270f0a166d797b574744.zip
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/f2py')
-rw-r--r--numpy/f2py/auxfuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/auxfuncs.py b/numpy/f2py/auxfuncs.py
index d27b95947..404bdbd2d 100644
--- a/numpy/f2py/auxfuncs.py
+++ b/numpy/f2py/auxfuncs.py
@@ -552,7 +552,7 @@ class F2PYError(Exception):
pass
-class throw_error:
+class throw_error(object):
def __init__(self, mess):
self.mess = mess