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

This commit is contained in:
Andrey Vlasovskikh authored and Guido van Rossum committed 2017-01-29 10:34:32 -08:00
1 parent c048984ab9
commit 2b25b3ef6d
2 files changed
+3 -3

No files matched your search

+1 -1
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