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 5a443ee70..f9bf5dcd9 100644
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -1229,7 +1229,7 @@ def buildmodule(m,um):
f.write('! This file is autogenerated with f2py (version:%s)\n'%(f2py_version))
f.write('! It contains Fortran 90 wrappers to fortran functions.\n')
lines = []
- for l in '\n\n'.join(funcwrappers2)+'\n'.split('\n'):
+ for l in ('\n\n'.join(funcwrappers2)+'\n').split('\n'):
if len(l)>72 and l[0]==' ':
lines.append(l[:72]+'&\n &')
l = l[72:]