Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add space before __setitem__() note in docstring
Might fix rendering/warning issue
  • Loading branch information
honno committed Mar 22, 2024
commit ef9c4c1d61306712d801bc883031203f17d941bd
1 change: 1 addition & 0 deletions src/array_api_stubs/_draft/array_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,7 @@ def __setitem__(
value: Union[int, float, bool, array]
value(s) to set. Must be compatible with ``self[key]`` (see :ref:`broadcasting`).


.. note::
``key`` can only be an array if it is valid for boolean array indexing, or supports ``__index__()``.

Expand Down