summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/array.rst
diff options
context:
space:
mode:
authortakanori-pskq <takanori17h@gmail.com>2020-10-25 10:07:17 +0900
committertakanori-pskq <takanori17h@gmail.com>2020-10-25 10:07:17 +0900
commitbc90452a095424bf837736a8615407ab4f1dd649 (patch)
tree07d95cfbdbf40dfc659b0e6d5af478639e49bd53 /doc/source/reference/c-api/array.rst
parentd483de0f32baec73b0856230dd35f08373ecbb85 (diff)
downloadnumpy-bc90452a095424bf837736a8615407ab4f1dd649.tar.gz
DOC: Fix the references for ``__array_*__``
Diffstat (limited to 'doc/source/reference/c-api/array.rst')
-rw-r--r--doc/source/reference/c-api/array.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst
index ae39f980f..5c4950977 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -604,14 +604,14 @@ From other objects
.. c:function:: PyObject* PyArray_FromStructInterface(PyObject* op)
Returns an ndarray object from a Python object that exposes the
- :obj:`__array_struct__` attribute and follows the array interface
+ :obj:`~object.__array_struct__` attribute and follows the array interface
protocol. If the object does not contain this attribute then a
borrowed reference to :c:data:`Py_NotImplemented` is returned.
.. c:function:: PyObject* PyArray_FromInterface(PyObject* op)
Returns an ndarray object from a Python object that exposes the
- :obj:`__array_interface__` attribute following the array interface
+ :obj:`~object.__array_interface__` attribute following the array interface
protocol. If the object does not contain this attribute then a
borrowed reference to :c:data:`Py_NotImplemented` is returned.