summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakobjakobson13 <43045863+jakobjakobson13@users.noreply.github.com>2020-08-11 18:33:44 +0200
committerGitHub <noreply@github.com>2020-08-11 11:33:44 -0500
commit6aa1360ff7d305144a6b0ce8eb838897c0e1091a (patch)
treefb959ffcfdeba37e9ce548218f73dd151529e0ca
parent4d1c5d83d078f4002c5a1a77d71181abf85b02da (diff)
downloadnumpy-6aa1360ff7d305144a6b0ce8eb838897c0e1091a.tar.gz
MAINT: Delete obsolete conversion to list (gh-17052)
see gh-17012 item 12
-rw-r--r--numpy/distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index b6557fcf6..c7502d3e6 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -559,7 +559,7 @@ class build_ext (old_build_ext):
unlinkable_fobjects = list(unlinkable_fobjects)
# Expand possible fake static libraries to objects
- for lib in list(libraries):
+ for lib in libraries:
for libdir in library_dirs:
fake_lib = os.path.join(libdir, lib + '.fobjects')
if os.path.isfile(fake_lib):