summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.interface.rst
diff options
context:
space:
mode:
authormelissawm <melissawm@gmail.com>2022-08-15 14:38:01 -0300
committermelissawm <melissawm@gmail.com>2022-08-15 14:47:42 -0300
commit9de446ab53b09fd06d2796b63cec6a8155189fe5 (patch)
treefe759489cd1488c4838422fdc34a6b5605a4fdc3 /doc/source/reference/arrays.interface.rst
parent3b5ee21eae3d1456e6da0f3dff1df128e9895847 (diff)
downloadnumpy-9de446ab53b09fd06d2796b63cec6a8155189fe5.tar.gz
DOC: Fix intersphinx inventory names
Since Sphinx 5.0.0, some intersphinx links need explicit inventory names or they won't be resolved correctly. See https://www.sphinx-doc.org/en/master/changes.html\#release-5-0-0-released-may-30-2022 and https://github.com/sphinx-doc/sphinx/issues/2068.
Diffstat (limited to 'doc/source/reference/arrays.interface.rst')
-rw-r--r--doc/source/reference/arrays.interface.rst4
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.