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/twodim_base.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/twodim_base.py')
-rw-r--r-- | numpy/lib/twodim_base.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py index a8925592a..2861e1c4a 100644 --- a/numpy/lib/twodim_base.py +++ b/numpy/lib/twodim_base.py @@ -3,19 +3,19 @@ """ from __future__ import division, absolute_import, print_function -__all__ = ['diag', 'diagflat', 'eye', 'fliplr', 'flipud', 'rot90', 'tri', - 'triu', 'tril', 'vander', 'histogram2d', 'mask_indices', - 'tril_indices', 'tril_indices_from', 'triu_indices', - 'triu_indices_from', - ] - from numpy.core.numeric import ( - asanyarray, subtract, arange, zeros, greater_equal, multiply, ones, - asarray, where, less, int8, int16, int32, int64, empty, promote_types + asanyarray, arange, zeros, greater_equal, multiply, ones, asarray, + where, int8, int16, int32, int64, empty, promote_types ) from numpy.core import iinfo +__all__ = [ + 'diag', 'diagflat', 'eye', 'fliplr', 'flipud', 'rot90', 'tri', 'triu', + 'tril', 'vander', 'histogram2d', 'mask_indices', 'tril_indices', + 'tril_indices_from', 'triu_indices', 'triu_indices_from', ] + + i1 = iinfo(int8) i2 = iinfo(int16) i4 = iinfo(int32) |