We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e15a7ff commit f21d18aCopy full SHA for f21d18a
doc/source/f2py/python-usage.rst
@@ -243,6 +243,13 @@ In Python:
243
.. literalinclude:: ./code/results/extcallback_session.dat
244
:language: python
245
246
+.. note::
247
+
248
+ When using modified Fortran code via ``callstatement`` or other directives,
249
+ the wrapped Python function must be called as a callback, otherwise only the
250
+ bare Fortran routine will be used. For more details, see
251
+ https://github.com/numpy/numpy/issues/26681#issuecomment-2466460943
252
253
Resolving arguments to call-back functions
254
------------------------------------------
255
0 commit comments