summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-09-24 13:44:54 +0200
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-09-24 13:46:20 +0200
commit962378bf800f859252c67da135f03e24586234f4 (patch)
treef7e1c168d51f064c1b0be9bd78568497d79df543 /numpy/array_api/_manipulation_functions.py
parent0cf5bc092f801a4c004ecdb7d1061f46aaab4ff4 (diff)
downloadnumpy-962378bf800f859252c67da135f03e24586234f4.tar.gz
MAINT: Fix LGTM.com warning
Variable defined multiple times This assignment to 'f' is unnecessary as it is redefined here before this value is used. This originates in 6c8412f, where the intent was clearly to try an alternative value for f in case NameError is raised: f = sys.argv[0] However, for this value to be actually used, the else: must be removed.
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions