summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2008-04-10 23:58:42 +0000
committerRobert Kern <robert.kern@gmail.com>2008-04-10 23:58:42 +0000
commit032390044e1d990da1b571b9a8f150464e479d67 (patch)
tree4e08dd2595355fbbd03017f16f0deaf719005490 /numpy/f2py
parent34e3f4966dcbd14094e00b11f6379f5c13a7c6c1 (diff)
downloadnumpy-032390044e1d990da1b571b9a8f150464e479d67.tar.gz
Fix a long-standing typo preventing the build of scipy.stats.mvn. Sorry Stefan, no unittest; the original code is not amenable to unittests without a large refactoring.
Diffstat (limited to 'numpy/f2py')
-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 48d1eaac5..f55849ecd 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -864,7 +864,7 @@ def analyzeline(m,case,line):
name,args,result=_resolvenameargspattern(m.group('after'))
if name is not None:
if args:
- args=rmbadname([x.strip() for x in markoutercomma(args).strip('@,@')])
+ args=rmbadname([x.strip() for x in markoutercomma(args).split('@,@')])
else: args=[]
assert result is None,`result`
groupcache[groupcounter]['entry'][name] = args