summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 8c43f97c0..37f649e6b 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -484,7 +484,7 @@ def configuration(parent_package='',top_path=None):
else:
mathlibs = []
target_f = open(target)
- for line in target_f.readlines():
+ for line in target_f:
s = '#define MATHLIB'
if line.startswith(s):
value = line[len(s):].strip()