We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a21ad commit ab33f78Copy full SHA for ab33f78
src/array_api_stubs/_2023_12/array_object.py
@@ -364,7 +364,7 @@ def __dlpack__(
364
``__dlpack__`` to return a capsule referencing an array whose underlying memory is
365
accessible to the Python interpreter (represented by the ``kDLCPU`` enumerator in DLPack).
366
If a copy must be made to enable this support but ``copy`` is set to ``False``, the
367
- function must raise ``ValueError``.
+ function must raise ``BufferError``.
368
369
Other device kinds will be considered for standardization in a future version of this
370
API standard.
0 commit comments