diff --git a/stdlib/2.7/__builtin__.pyi b/stdlib/2.7/__builtin__.pyi index 120007b73..464c1e0cf 100644 --- a/stdlib/2.7/__builtin__.pyi +++ b/stdlib/2.7/__builtin__.pyi @@ -431,10 +431,7 @@ class bytearray(Sequence[int]): @overload def __setitem__(self, s: slice, x: Union[Sequence[int], str]) -> None: ... def __setslice__(self, start: int, stop: int, x: Union[Sequence[int], str]) -> None: ... - @overload - def __delitem__(self, i: int) -> None: ... - @overload - def __delitem__(self, s: slice) -> None: ... + def __delitem__(self, i: Union[int, slice]) -> None: ... def __delslice__(self, start: int, stop: int) -> None: ... def __add__(self, s: str) -> bytearray: ... def __mul__(self, n: int) -> bytearray: ...