mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Argument of input() is not restricted to str (#890)
This commit is contained in:
committed by
Guido van Rossum
parent
c048984ab9
commit
2b25b3ef6d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user