diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index ed4cd3477..3f8706497 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -1134,7 +1134,7 @@ if sys.version_info >= (3,): def exec(object: Union[str, bytes, CodeType], globals: Optional[Dict[str, Any]] = ..., locals: Optional[Mapping[str, Any]] = ...) -> Any: ... else: def execfile(filename: str, globals: Optional[Dict[str, Any]] = ..., locals: Optional[Dict[str, Any]] = ...) -> None: ... -def exit(code: Any = ...) -> NoReturn: ... +def exit(code: object = ...) -> NoReturn: ... if sys.version_info >= (3,): @overload def filter(__function: None, __iterable: Iterable[Optional[_T]]) -> Iterator[_T]: ... @@ -1337,7 +1337,7 @@ def pow(x: int, y: int, z: int) -> Any: ... def pow(x: float, y: float) -> float: ... @overload def pow(x: float, y: float, z: float) -> float: ... -def quit(code: Optional[int] = ...) -> None: ... +def quit(code: object = ...) -> NoReturn: ... if sys.version_info < (3,): def range(x: int, y: int = ..., step: int = ...) -> List[int]: ... def raw_input(prompt: Any = ...) -> str: ... diff --git a/stdlib/2and3/builtins.pyi b/stdlib/2and3/builtins.pyi index ed4cd3477..3f8706497 100644 --- a/stdlib/2and3/builtins.pyi +++ b/stdlib/2and3/builtins.pyi @@ -1134,7 +1134,7 @@ if sys.version_info >= (3,): def exec(object: Union[str, bytes, CodeType], globals: Optional[Dict[str, Any]] = ..., locals: Optional[Mapping[str, Any]] = ...) -> Any: ... else: def execfile(filename: str, globals: Optional[Dict[str, Any]] = ..., locals: Optional[Dict[str, Any]] = ...) -> None: ... -def exit(code: Any = ...) -> NoReturn: ... +def exit(code: object = ...) -> NoReturn: ... if sys.version_info >= (3,): @overload def filter(__function: None, __iterable: Iterable[Optional[_T]]) -> Iterator[_T]: ... @@ -1337,7 +1337,7 @@ def pow(x: int, y: int, z: int) -> Any: ... def pow(x: float, y: float) -> float: ... @overload def pow(x: float, y: float, z: float) -> float: ... -def quit(code: Optional[int] = ...) -> None: ... +def quit(code: object = ...) -> NoReturn: ... if sys.version_info < (3,): def range(x: int, y: int = ..., step: int = ...) -> List[int]: ... def raw_input(prompt: Any = ...) -> str: ...