diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-02-21 02:48:33 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-02-21 02:48:33 +0000 |
commit | 8003020b43e04c8adb7a0854080a5edf5c93f34e (patch) | |
tree | 3610f52d481c906f1cc64fc9fde372274670a0d0 /numpy/lib/io.py | |
parent | 0a67e86f49a0dee8d39f94dd29947311d5491a29 (diff) | |
download | numpy-8003020b43e04c8adb7a0854080a5edf5c93f34e.tar.gz |
3K: lib: missing_values in genfromtxt is never a basestring on Py3
Diffstat (limited to 'numpy/lib/io.py')
-rw-r--r-- | numpy/lib/io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/io.py b/numpy/lib/io.py index 987e22977..b3287aacc 100644 --- a/numpy/lib/io.py +++ b/numpy/lib/io.py @@ -1209,7 +1209,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, if value not in entry: entry.append(value) # We have a string : apply it to all entries - elif isinstance(user_missing_values, basestring): + elif isinstance(user_missing_values, bytes): user_value = user_missing_values.split(asbytes(",")) for entry in missing_values: entry.extend(user_value) |