summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-09-30 07:44:35 -0500
committerGitHub <noreply@github.com>2018-09-30 07:44:35 -0500
commit90ea6b37a4dee698fd7a1659c5bd601eae6fef64 (patch)
tree1a36474981a34ad56a7434f8482c683a9f413d73
parent5042ff9ae9df5071b541fcb5820f8dd295922a8b (diff)
parent9da665c87ef0601be8434d1b215756712088778d (diff)
downloadnumpy-90ea6b37a4dee698fd7a1659c5bd601eae6fef64.tar.gz
Merge pull request #12056 from ceh-forks/fn-called-with-too-many-args
MAINT: The crackfortran function is called with an extra argument
-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)