summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Hessman <emil@hessman.se>2018-09-29 21:57:00 +0200
committerEmil Hessman <emil@hessman.se>2018-09-30 07:37:59 +0200
commit9da665c87ef0601be8434d1b215756712088778d (patch)
tree0577d2a328189766f2c2875db28b4d085e5c4037
parenta000144dfa44b38e1681ea5498d88ed6eda9876a (diff)
downloadnumpy-9da665c87ef0601be8434d1b215756712088778d.tar.gz
MAINT: don't call function with too many arguments
-rwxr-xr-xnumpy/f2py/crackfortran.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
index 99ff030e3..361203a57 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -33,7 +33,7 @@ Note: f2py directive: <commentchar>f2py<line> is read as <line>
Note: pythonmodule is introduced to represent Python module
Usage:
- `postlist=crackfortran(files,funcs)`
+ `postlist=crackfortran(files)`
`postlist` contains declaration information read from the list of files `files`.
`crack2fortran(postlist)` returns a fortran code to be saved to pyf-file
@@ -3341,7 +3341,7 @@ if __name__ == "__main__":
and also be sure that the files do not contain programs without program statement).
""", 0)
- postlist = crackfortran(files, funcs)
+ postlist = crackfortran(files)
if pyffilename:
outmess('Writing fortran code to file %s\n' % repr(pyffilename), 0)
pyf = crack2fortran(postlist)