diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index bd49c58d0..403bed0cb 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -871,7 +871,7 @@ class memoryview(Sized, Container[_mv_container_type]): def hex(self) -> str: ... class bool(int): - def __init__(self, o: object = ...) -> None: ... + def __new__(cls: Type[_T], __o: object = ...) -> _T: ... @overload def __and__(self, x: bool) -> bool: ... @overload diff --git a/stdlib/2and3/builtins.pyi b/stdlib/2and3/builtins.pyi index bd49c58d0..403bed0cb 100644 --- a/stdlib/2and3/builtins.pyi +++ b/stdlib/2and3/builtins.pyi @@ -871,7 +871,7 @@ class memoryview(Sized, Container[_mv_container_type]): def hex(self) -> str: ... class bool(int): - def __init__(self, o: object = ...) -> None: ... + def __new__(cls: Type[_T], __o: object = ...) -> _T: ... @overload def __and__(self, x: bool) -> bool: ... @overload