Skip to content

Commit

Permalink
DOC: expand_dims: mark axis as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascolley authored Sep 25, 2024
1 parent 94bea77 commit 232860f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array_api_extra/_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def expand_dims(
Parameters
----------
a : array
axis : int or tuple of ints
axis : int or tuple of ints, optional
Position(s) in the expanded axes where the new axis (or axes) is/are placed.
If multiple positions are provided, they should be unique (note that a position
given by a positive index could also be referred to by a negative index -
Expand Down

0 comments on commit 232860f

Please sign in to comment.