Skip to content

Commit f4b8a80

Browse files
committed
DOC: add a code comment to expand on how to override f2py define
[ci skip]
1 parent 12f6c98 commit f4b8a80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numpy/f2py/cfuncs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@ def errmess(s: str) -> None:
553553
# running a compile-time check (which we have no control over in generated
554554
# code used outside of NumPy) is hard. Therefore we support overriding this
555555
# via an external define - the f2py-using package can then use the same
556-
# compile-time checks as we use for `NPY_TLS` when building NumPy.
556+
# compile-time checks as we use for `NPY_TLS` when building NumPy (see
557+
# scipy#21860 for an example of that).
557558
#
558559
# __STDC_NO_THREADS__ should not be coupled to the availability of _Thread_local.
559560
# In case we get a bug report, guard it with __STDC_NO_THREADS__ after all.

0 commit comments

Comments
 (0)