diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-07-30 16:48:11 -0600 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-07-31 21:21:13 +0200 |
commit | dec6658cdc10a23ad0e733fb52a814306033d88c (patch) | |
tree | dfa2a5d879f9ec10f75287a045070729cf415432 /numpy/lib/npyio.py | |
parent | 0b5a6645ee110a8d4c6b5defd8c01791ee48bda1 (diff) | |
download | numpy-dec6658cdc10a23ad0e733fb52a814306033d88c.tar.gz |
MAINT: Fixes for problems in numpy/lib revealed by pyflakes.
Some of those problems look like potential coding errors. In those
cases a Fixme comment was made and the offending code, usually an
unused variable, was commented out.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index c1813512a..479e9c099 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -33,7 +33,8 @@ loads = pickle.loads __all__ = [ 'savetxt', 'loadtxt', 'genfromtxt', 'ndfromtxt', 'mafromtxt', 'recfromtxt', 'recfromcsv', 'load', 'loads', 'save', 'savez', - 'savez_compressed', 'packbits', 'unpackbits', 'fromregex', 'DataSource'] + 'savez_compressed', 'packbits', 'unpackbits', 'fromregex', 'DataSource' + ] def seek_gzip_factory(f): @@ -1596,7 +1597,8 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None, # Make sure we have the corrected keys in user_converters... user_converters.update(uc_update) - miss_chars = [_.missing_values for _ in converters] + # Fixme: possible error as following variable never used. + #miss_chars = [_.missing_values for _ in converters] # Initialize the output lists ... # ... rows |