diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/_add_newdocs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py index e31b7671c..80409669d 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -1584,7 +1584,8 @@ add_newdoc('numpy.core.multiarray', 'from_dlpack', Parameters ---------- x : object - A Python object that implements the ``__dlpack__`` method. + A Python object that implements the ``__dlpack__`` and + ``__dlpack_device__`` methods. Returns ------- |
