summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2010-12-02 15:26:22 -0700
committerCharles Harris <charlesr.harris@gmail.com>2010-12-02 15:28:56 -0700
commit6aacc2d373c961865c43f139acbf15d9cb823c04 (patch)
tree4fc95a961a1c9223de570b613ae74ec471b930b7 /numpy/lib/npyio.py
parent67ed62e086f8979fa2c49e60ba5c89a3e8feae41 (diff)
downloadnumpy-6aacc2d373c961865c43f139acbf15d9cb823c04.tar.gz
BUG: Try fix for python 2.4, use list instead of tuple.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index aeccc2a24..34bbd1469 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -1269,7 +1269,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None,
elif (names is not None) and (len(names) > nbcols):
names = [names[_] for _ in usecols]
elif (names is not None) and (dtype is not None):
- names = dtype.names
+ names = list(dtype.names)
# Process the missing values ...............................