summaryrefslogtreecommitdiff
path: root/doc/source/f2py/signature-file.rst
diff options
context:
space:
mode:
authormelissawm <melissawm.github@gmail.com>2021-12-15 12:21:54 -0300
committermelissawm <melissawm.github@gmail.com>2022-01-05 14:13:10 -0300
commit9867da9994a2f0dbfdec412fbb7d77032cb27e42 (patch)
tree05ffb52231adc9dcdcff4f73e9b2ca38278adf00 /doc/source/f2py/signature-file.rst
parent4a6f65f10ab65307a9e1118f61d3504a7eca9de1 (diff)
downloadnumpy-9867da9994a2f0dbfdec412fbb7d77032cb27e42.tar.gz
Responding to review comments
Diffstat (limited to 'doc/source/f2py/signature-file.rst')
-rw-r--r--doc/source/f2py/signature-file.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/source/f2py/signature-file.rst b/doc/source/f2py/signature-file.rst
index e0c886c13..697b259cd 100644
--- a/doc/source/f2py/signature-file.rst
+++ b/doc/source/f2py/signature-file.rst
@@ -16,6 +16,13 @@ constructs that are irrelevant for creating the interface. However, this also
means that syntax errors are not caught by F2PY and will only be caught when the
library is built.
+.. note::
+
+ Currently, F2PY may fail with valid Fortran constructs, such as intrinsic
+ modules. If this happens, you can check the
+ :ref:`NumPy GitHub issue tracker <https://github.com/numpy/numpy/issues>` for
+ possible workarounds or work-in-progress ideas.
+
In general, the contents of the signature files are case-sensitive. When
scanning Fortran codes to generate a signature file, F2PY lowers all cases
automatically except in multi-line blocks or when the ``--no-lower`` option is
@@ -596,10 +603,10 @@ Extensions
F2PY directives
^^^^^^^^^^^^^^^^
-The F2PY directives allow using F2PY signature file constructs in
-Fortran 77/90 source codes. With this feature one can (almost) completely skip
-the intermediate signature file generation and apply F2PY directly to Fortran
-source codes.
+The F2PY directives allow using F2PY signature file constructs in Fortran 77/90
+source codes. With this feature one can (almost) completely skip the
+intermediate signature file generation and apply F2PY directly to Fortran source
+codes.
F2PY directives have the following form::