diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 35916b872..e538d7f22 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -701,7 +701,7 @@ def hasattr(o: Any, name: unicode) -> bool: ... def hash(o: object) -> int: ... def hex(i: int) -> str: ... # TODO __index__ def id(o: object) -> int: ... -def input(prompt: unicode = ...) -> Any: ... +def input(prompt: Any = ...) -> Any: ... def intern(string: str) -> str: ... @overload def iter(iterable: Iterable[_T]) -> Iterator[_T]: ... @@ -749,7 +749,7 @@ def pow(x: float, y: float) -> float: ... def pow(x: float, y: float, z: float) -> float: ... def quit(code: int = ...) -> None: ... def range(x: int, y: int = 0, step: int = 1) -> List[int]: ... -def raw_input(prompt: unicode = ...) -> str: ... +def raw_input(prompt: Any = ...) -> str: ... @overload def reduce(function: Callable[[_T, _S], _T], iterable: Iterable[_S], initializer: _T) -> _T: ... diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 7811b228c..7ccb5959a 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -724,7 +724,7 @@ def hash(o: object) -> int: ... def help(*args: Any, **kwds: Any) -> None: ... def hex(i: int) -> str: ... # TODO __index__ def id(o: object) -> int: ... -def input(prompt: str = None) -> str: ... +def input(prompt: Any = None) -> str: ... @overload def iter(iterable: Iterable[_T]) -> Iterator[_T]: ... @overload