summaryrefslogtreecommitdiff
path: root/numpy/core/records.py
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/core/records.py
parent6958be1c9180bd52a7aaf979718b2b851f280055 (diff)
downloadnumpy-7748f26fdbc44cf6d06c270f0a166d797b574744.tar.gz
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/core/records.py')
-rw-r--r--numpy/core/records.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/records.py b/numpy/core/records.py
index 69d997cd0..b6ff8bf65 100644
--- a/numpy/core/records.py
+++ b/numpy/core/records.py
@@ -80,7 +80,7 @@ def find_duplicate(list):
dup.append(list[i])
return dup
-class format_parser:
+class format_parser(object):
"""
Class to convert formats, names, titles description to a dtype.