diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-08-18 20:40:58 -0500 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-08-19 19:15:17 -0500 |
commit | 00b6745d037c04cda942901c1a9f281eaf0213a5 (patch) | |
tree | b529a5ad48fff331a3195f96ec68560efcdbba1a /numpy/lib/_iotools.py | |
parent | b7a9378b113da2cb27f40c4f485ffeb225f5d01d (diff) | |
download | numpy-00b6745d037c04cda942901c1a9f281eaf0213a5.tar.gz |
MAINT: Test names against None for consistency
In these instances the behavior isn't changed, since the for loop below acts like an if.
However, in general this is an antipattern that crashes on 0-field structured types, and is warned against in the docs.
If we remove instances of the antipattern, it will hopefully not reappear via copy-paste code.
Diffstat (limited to 'numpy/lib/_iotools.py')
0 files changed, 0 insertions, 0 deletions