diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-10-25 08:03:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 08:03:52 +0200 |
commit | 119a0330c9cbeb13fbf8801b4f5d956659ff92cc (patch) | |
tree | 5c5a9e7ac61349c098a6f5f293641962c689bb52 /doc/source/reference/c-api/array.rst | |
parent | 56388f8f582b7800bc3af84958e2d1b0eae1bc05 (diff) | |
parent | bc90452a095424bf837736a8615407ab4f1dd649 (diff) | |
download | numpy-119a0330c9cbeb13fbf8801b4f5d956659ff92cc.tar.gz |
Merge pull request #17627 from takanori-pskq/i13114-array-struct
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.rst | 4 |
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 2e7e84946..b22e20818 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. |