summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2007-12-04 06:58:41 +0000
committerRobert Kern <robert.kern@gmail.com>2007-12-04 06:58:41 +0000
commit8610fb8f3aadad9677d55b2959c3e03d419ccef1 (patch)
tree3a82caff90668332a9e65275d68ec452212ca444 /numpy/f2py
parentffd9adc11730b5957adcee9c0f2ae6f30b0f9ae6 (diff)
downloadnumpy-8610fb8f3aadad9677d55b2959c3e03d419ccef1.tar.gz
Another string method conversion typo.
Diffstat (limited to 'numpy/f2py')
-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:]