You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/array_api_stubs/_draft/array_object.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1134,7 +1134,7 @@ def __setitem__(
1134
1134
Indexing semantics when ``key`` is an integer array or a tuple of integers and integer arrays is currently unspecified and thus implementation-defined. This will be revisited in a future revision of this standard.
1135
1135
1136
1136
- Setting array values must not affect the data type of ``self``.
1137
-
- ``value`` must be promoted to the data type of ``self`` according to :ref:`type-promotion`. If this is not possible, behavior is unspecified and thus implementation-defined.
1137
+
- ``value`` must be promoted to the data type of ``self`` according to :ref:`type-promotion`. If this is not supported according to :ref:`type-promotion`, behavior is unspecified and thus implementation-defined.
1138
1138
1139
1139
.. versionchanged:: 2025.12
1140
1140
Specified :ref:`type-promotion` when ``value`` is an array.
0 commit comments