diff options
Diffstat (limited to 'numpy/distutils/from_template.py')
-rw-r--r-- | numpy/distutils/from_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/from_template.py b/numpy/distutils/from_template.py index 1bb7a0a27..99f36e371 100644 --- a/numpy/distutils/from_template.py +++ b/numpy/distutils/from_template.py @@ -209,7 +209,7 @@ def resolve_includes(source): d = os.path.dirname(source) fid = open(source) lines = [] - for line in fid.readlines(): + for line in fid: m = include_src_re.match(line) if m: fn = m.group('name') |