diff --git a/bitarray/__init__.pyi b/bitarray/__init__.pyi index 1ab6fabf..c18fcdc8 100644 --- a/bitarray/__init__.pyi +++ b/bitarray/__init__.pyi @@ -59,15 +59,15 @@ class bitarray(MutableSequence[Bool]): def __getitem__(self, i: int) -> Bool: ... @overload def __getitem__(self, s: slice) -> bitarray: ... - @overload # type: ignore # Overrides MutableSequence + @overload # type: ignore[override] def __setitem__(self, i: Union[int, slice], o: Bool) -> None: ... @overload def __setitem__(self, s: slice, o: bitarray) -> None: ... def __delitem__(self, i: Union[int, slice]) -> None: ... def __add__(self, other: bitarray) -> bitarray: ... - def __iadd__(self, other: bitarray) -> bitarray: # type: ignore - ... # Overrides MutableSequence + def __iadd__(self, other: bitarray) -> bitarray: # type: ignore[override] + ... def __mul__(self, n: int) -> bitarray: ... def __imul__(self, n: int) -> bitarray: ... def __rmul__(self, n: int) -> bitarray: ...