Skip to content

Commit 4edf370

Browse files
committed
Make x positional only in __dlpack__()
1 parent d11c21e commit 4edf370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/API_specification/array_object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Converts a zero-dimensional boolean array to a Python `bool` object.
396396

397397

398398
(method-__dlpack__)=
399-
### \_\_dlpack\_\_(x, *, stream=None)
399+
### \_\_dlpack\_\_(x, /, *, stream=None)
400400

401401
Exports the array as a DLPack capsule, for consumption by {ref}`function-from_dlpack`.
402402

0 commit comments

Comments
 (0)