Skip to content

Commit a4b6033

Browse files
committed
docs: remove explicit exception prescription
1 parent 19f1f5d commit a4b6033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/draft/API_specification/indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ An array must support indexing an array having more than one dimension by an ind
212212

213213
- If ``T`` consists of only integers and integer arrays, with at least one of those integer arrays being a one-dimensional integer array ``J`` having shape ``S2 = (m,)``, where ``m`` is greater than or equal to the number of elements in any other integer array in ``T``, each element of ``T`` must be broadcast to the same shape as ``J``.
214214

215-
- An ``IndexError`` exception must be raised if any element of ``T`` is not broadcast-compatible with ``J`` (see :ref:`broadcasting`).
215+
- An exception must be raised if any element of ``T`` is not broadcast-compatible with ``J`` (see :ref:`broadcasting`).
216216

217217
- After broadcasting, ``T`` must be equivalent to a tuple ``U = (u1, u2, ..., uN)`` containing only integer arrays having shape ``S2``.
218218

0 commit comments

Comments
 (0)