Files
typeshed/stdlib/3/getpass.pyi
Guido van Rossum 350563223f Add Optional[] for all remaining cases of x: <type> = None (#1424)
* Final round of adding Optional[] to type of arguments with default = None
* Update Travis to use --no-implicit-optionals and clarify CONTRIBUTING.md
2017-06-21 10:50:21 -07:00

14 lines
209 B
Python

# Stubs for getpass
from typing import Optional, TextIO
def getpass(prompt: str = ..., stream: Optional[TextIO] = None) -> str: ...
def getuser() -> str: ...
class GetPassWarning(UserWarning):
pass