Argument of input() is not restricted to str (#890)

This commit is contained in:
Andrey Vlasovskikh
2017-01-29 21:34:32 +03:00
committed by Guido van Rossum
parent c048984ab9
commit 2b25b3ef6d
2 changed files with 3 additions and 3 deletions

View File

@@ -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