diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-06-29 20:24:57 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-06-29 20:24:57 -0600 |
commit | 7298d36d23ce179d7fc125a2c907316f103a4855 (patch) | |
tree | 8e0616a986f03d363e9875464652ad72b404390f /numpy/lib/nanfunctions.py | |
parent | efb203ce22f5c4c43bbe641275101289f5a0cdbf (diff) | |
download | numpy-7298d36d23ce179d7fc125a2c907316f103a4855.tar.gz |
MAINT: Simplify some uses of errstate context manager.
This changes, e.g.,
with np.errstate():
np.seterr(divide='ignore')
...
to
with np.errstate(divide='ignore'):
...
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions