diff options
author | Tirth Patel <tirthasheshpatel@gmail.com> | 2022-03-03 13:05:49 +0530 |
---|---|---|
committer | Tirth Patel <tirthasheshpatel@gmail.com> | 2022-03-03 13:06:23 +0530 |
commit | 492489f862473a2f4f26dfd48726f8d6293266b4 (patch) | |
tree | 209551a208bff8960dcce22637e765dee6738eef /doc/source/reference/arrays.interface.rst | |
parent | 945e0aee51a316abb77284f2c4206f8f1d963480 (diff) | |
download | numpy-492489f862473a2f4f26dfd48726f8d6293266b4.tar.gz |
DOC: add the DLPack protocol to interpolability docs
Diffstat (limited to 'doc/source/reference/arrays.interface.rst')
-rw-r--r-- | doc/source/reference/arrays.interface.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/reference/arrays.interface.rst b/doc/source/reference/arrays.interface.rst index 25cfa3de1..33dd16c4e 100644 --- a/doc/source/reference/arrays.interface.rst +++ b/doc/source/reference/arrays.interface.rst @@ -247,7 +247,8 @@ 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>` instead. + code. Use the :py:doc:`buffer protocol <c-api/buffer>` or the DLPack protocol + `numpy.from_dlpack` instead. Type description examples |