summaryrefslogtreecommitdiff
path: root/numpy/lib/recfunctions.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2019-08-18 20:40:58 -0500
committerEric Wieser <wieser.eric@gmail.com>2019-08-19 19:15:17 -0500
commit00b6745d037c04cda942901c1a9f281eaf0213a5 (patch)
treeb529a5ad48fff331a3195f96ec68560efcdbba1a /numpy/lib/recfunctions.py
parentb7a9378b113da2cb27f40c4f485ffeb225f5d01d (diff)
downloadnumpy-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/recfunctions.py')
0 files changed, 0 insertions, 0 deletions