diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-12-02 15:26:22 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-12-02 15:28:56 -0700 |
commit | 6aacc2d373c961865c43f139acbf15d9cb823c04 (patch) | |
tree | 4fc95a961a1c9223de570b613ae74ec471b930b7 /numpy/lib/npyio.py | |
parent | 67ed62e086f8979fa2c49e60ba5c89a3e8feae41 (diff) | |
download | numpy-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.py | 2 |
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 ............................... |