From 2e0efa4ec48f7765fed49a9f5143cd831c6b8049 Mon Sep 17 00:00:00 2001 From: Ilan Schnell Date: Wed, 9 Jun 2021 23:27:22 -0500 Subject: [PATCH] improve comment --- bitarray/__init__.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: ...