Skip to content

Commit f05c22f

Browse files
committed
Fix index range
1 parent 149d340 commit f05c22f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/array_api_stubs/_draft/manipulation_functions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ def moveaxis(
129129
x: array
130130
input array.
131131
source: Union[int, Tuple[int, ...]]
132-
Axes to move. Provided axes must be unique. If ``x`` has rank (i.e, number of dimensions) ``N``, a valid axis must reside on the open-interval ``(-N, N)``.
132+
Axes to move. Provided axes must be unique. If ``x`` has rank (i.e, number of dimensions) ``N``, a valid axis must reside on the half-open interval ``[-N, N)``.
133133
destination: Union[int, Tuple[int, ...]]
134-
indices defining the desired positions for each respective ``source`` axis index. Provided indices must be unique. If ``x`` has rank (i.e, number of dimensions) ``N``, a valid axis must reside on the open-interval ``(-N, N)``.
134+
indices defining the desired positions for each respective ``source`` axis index. Provided indices must be unique. If ``x`` has rank (i.e, number of dimensions) ``N``, a valid axis must reside on the half-open interval ``[-N, N)``.
135135
136136
Returns
137137
-------

0 commit comments

Comments
 (0)