summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Goswami <r95g10@gmail.com>2022-10-10 19:41:12 +0200
committerGitHub <noreply@github.com>2022-10-10 19:41:12 +0200
commit6d8670ac4577d2e1b13e6c53b829b2dadb69a463 (patch)
tree7d186c82b734faab26a38ada2037be0566c48871
parenteec7fdf0c35babf65c808ca7d96b50efa3b4888c (diff)
downloadnumpy-6d8670ac4577d2e1b13e6c53b829b2dadb69a463.tar.gz
Update doc/source/f2py/python-usage.rst
Co-authored-by: Matti Picus <matti.picus@gmail.com>
-rw-r--r--doc/source/f2py/python-usage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/f2py/python-usage.rst b/doc/source/f2py/python-usage.rst
index f004a1f75..db1ee1ec8 100644
--- a/doc/source/f2py/python-usage.rst
+++ b/doc/source/f2py/python-usage.rst
@@ -15,7 +15,7 @@ Routine wrappers are callable ``fortran`` type objects while wrappers to Fortran
data have attributes referring to data objects.
All ``fortran`` type objects have an attribute ``_cpointer`` that contains a
-``PyCapsule`` referring to the C pointer of the corresponding Fortran/C function
+:c:type:`PyCapsule` referring to the C pointer of the corresponding Fortran/C function
or variable at the C level. Such ``PyCapsule`` objects can be used as callback
arguments for F2PY generated functions to bypass the Python C/API layer for
calling Python functions from Fortran or C. This can be useful when the