Skip to content

Commit 60f7439

Browse files
committed
sync the copy docs
1 parent b855568 commit 60f7439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/array_api_stubs/_draft/creation_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def from_dlpack(
238238
239239
Other kinds of devices will be considered for standardization in a future version of this API standard.
240240
copy: Optional[bool]
241-
boolean indicating whether or not to copy the input. If ``True``, the function must always copy. If ``False``, the function must never copy and must raise a ``BufferError`` in case a copy is deemed necessary (e.g. the producer disallows views). If ``None``, the function must reuse the existing memory buffer if possible and copy otherwise. Default: ``None``.
241+
boolean indicating whether or not to copy the input. If ``True``, the function must always copy. If ``False``, the function must never copy, and raise ``BufferError`` in case a copy is deemed necessary (e.g. if a cross-device data movement is requested, and it is not possible without a copy). If ``None``, the function must reuse the existing memory buffer if possible and copy otherwise. Default: ``None``.
242242
243243
Returns
244244
-------

0 commit comments

Comments
 (0)