summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2008-09-09 10:55:30 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2008-09-09 10:55:30 +0000
commitb01bf6ffea880fc28daaa6877e2d4653aeab3d7f (patch)
tree65046922c619fea4579660bfeb7224f603d38104
parentf0e69ab361b29daae801aa514c78d2097412691a (diff)
downloadnumpy-b01bf6ffea880fc28daaa6877e2d4653aeab3d7f.tar.gz
Fix typo.
-rwxr-xr-xnumpy/f2py/crackfortran.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
index 1b3effc84..e8bd696bc 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -327,7 +327,7 @@ def readfortrancode(ffile,dowithline=show,istop=1):
if rl[:4].lower()=='f2py': # f2py directive
l = l + 4*' '
r=commentline.match(rl[4:])
- if r: l=l+r('line')
+ if r: l=l+r.group('line')
else: l = l + rl[4:]
if l.strip()=='': # Skip empty line
cont=0