Skip to content

Commit 232860f

Browse files
authored
DOC: expand_dims: mark axis as optional
1 parent 94bea77 commit 232860f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_extra/_funcs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def expand_dims(
6363
Parameters
6464
----------
6565
a : array
66-
axis : int or tuple of ints
66+
axis : int or tuple of ints, optional
6767
Position(s) in the expanded axes where the new axis (or axes) is/are placed.
6868
If multiple positions are provided, they should be unique (note that a position
6969
given by a positive index could also be referred to by a negative index -

0 commit comments

Comments
 (0)