diff options
Diffstat (limited to 'doc/source/reference/arrays.interface.rst')
-rw-r--r-- | doc/source/reference/arrays.interface.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/arrays.interface.rst b/doc/source/reference/arrays.interface.rst index 904d0132b..74432c8a7 100644 --- a/doc/source/reference/arrays.interface.rst +++ b/doc/source/reference/arrays.interface.rst @@ -125,7 +125,7 @@ This approach to the interface consists of the object having an **Default**: ``[('', typestr)]`` **data** (optional) - A 2-tuple whose first argument is a :doc:`Python integer <c-api/long>` + A 2-tuple whose first argument is a :doc:`Python integer <python:c-api/long>` that points to the data-area storing the array contents. .. note:: @@ -253,7 +253,7 @@ flag is present. .. note:: :obj:`__array_struct__` is considered legacy and should not be used for new - code. Use the :py:doc:`buffer protocol <c-api/buffer>` or the DLPack protocol + code. Use the :doc:`buffer protocol <python:c-api/buffer>` or the DLPack protocol `numpy.from_dlpack` instead. |