10000 DOC: ``f2py`` CLI documentation enhancements by HaoZeke · Pull Request #25124 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: f2py CLI documentation enhancements #25124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
F7C4 Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: Add a note about only: and skip:
Close gh-20520
  • Loading branch information
HaoZeke committed Nov 12, 2023
commit 3fd12f3cd0e0de33d0211a7456b20092683cf3b7
3 changes: 3 additions & 0 deletions doc/source/f2py/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ To scan Fortran sources and generate a signature file, use
either specify which routines should be wrapped (in the ``only: .. :`` part)
or which routines F2PY should ignore (in the ``skip: .. :`` part).

F2PY has no concept of a "per-file" ``skip`` or ``only`` list, so if functions
are listed in ``only``, no other functions will be taken from any other files.

If ``<filename.pyf>`` is specified as ``stdout``, then signatures are written to
standard output instead of a file.

Expand Down
0