8000 DOC: Add a note about only: and skip: · numpy/numpy@3fd12f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fd12f3

Browse files
committed
DOC: Add a note about only: and skip:
Close gh-20520
1 parent 9947aca commit 3fd12f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/source/f2py/usage.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ To scan Fortran sources and generate a signature file, use
3131
either specify which routines should be wrapped (in the ``only: .. :`` part)
3232
or which routines F2PY should ignore (in the ``skip: .. :`` part).
3333

34+
F2PY has no concept of a "per-file" ``skip`` or ``only`` list, so if functions
35+
are listed in ``only``, no other functions will be taken from any other files.
36+
3437
If ``<filename.pyf>`` is specified as ``stdout``, then signatures are written to
3538
standard output instead of a file.
3639

0 commit comments

Comments
 (0)
0