summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/f2py/rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
index 16bd58fb4..7b53deb9c 100644
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -1200,7 +1200,7 @@ def buildmodule(m,um):
f.write('C This file is autogenerated with f2py (version:%s)\n'%(f2py_version))
f.write('C It contains Fortran 77 wrappers to fortran functions.\n')
lines = []
- for l in '\n\n'.join(funcwrappers)+'\n'.split('\n'):
+ for l in ('\n\n'.join(funcwrappers)+'\n').split('\n'):
if l and l[0]==' ':
while len(l)>=66:
lines.append(l[:66]+'\n &')