Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Nov 25, 2024
1 parent 8505ef5 commit 9bfb90b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions array_api_compat/common/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,8 @@ def at(x, idx=_undef, /):
This implements ``jax.numpy.ndarray.at`` for all backends.
Writeable arrays may be updated in place; you should not rely on it.
Keyword arguments are passed to JAX and are quietly ignored for backends
that don't support them.
Keyword arguments (e.g. ``indices_are_sorted``) are passed to JAX and are
quietly ignored for backends that don't support them.
Examples
--------
Expand Down Expand Up @@ -857,7 +857,7 @@ def at(x, idx=_undef, /):
z = at(x, 1).set(3)
In the above example, y == [2, 0, 0] and z == [0, 3, 0] when x is read-only,
and y == z == [2, 3, 0] when x is writeable!
whereas y == z == [2, 3, 0] when x is writeable!
See Also
--------
Expand Down

0 comments on commit 9bfb90b

Please sign in to comment.