diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2021-09-24 12:27:06 +0200 |
---|---|---|
committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2021-09-24 13:36:32 +0200 |
commit | 5b76b21b4ba1ee7c1fc6bc184def76dd9a701bbd (patch) | |
tree | b61f7f6421a54f1bf630f4846c9cba474a6928bd /numpy/array_api/_manipulation_functions.py | |
parent | 0cf5bc092f801a4c004ecdb7d1061f46aaab4ff4 (diff) | |
download | numpy-5b76b21b4ba1ee7c1fc6bc184def76dd9a701bbd.tar.gz |
MAINT: Fix LGTM.com warning
Constant in conditional expression or statement
Testing a constant will always give the same result.
This originates in 0ca82e9, back in 2005, where
if scipy_distutils_version[:5]>='0.2.2':
was changed into:
if 1:
Given how old SciPy 0.2 is, the conditional is clearly obsolete.
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions