Skip to content

Commit ec90884

Browse files
committed
nits
1 parent f1652b6 commit ec90884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/array_api_extra/_funcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ class at: # pylint: disable=invalid-name
669669

670670
_x: Array
671671
_idx: Index
672-
__slots__: ClassVar[tuple[str, str]] = ("_idx", "_x")
672+
__slots__: ClassVar[tuple[str, ...]] = ("_idx", "_x")
673673

674674
def __init__(self, x: Array, idx: Index = _undef, /) -> None:
675675
self._x = x
@@ -728,7 +728,7 @@ def _update_common(
728728

729729
if copy:
730730
if is_jax_array(x):
731-
# Use JAX's at[] or other library that with the same duck-type API
731+
# Use JAX's at[]
732732
func = getattr(x.at[idx], at_op)
733733
return func(y), None
734734
# Emulate at[] behaviour for non-JAX arrays

0 commit comments

Comments
 (0)