diff --git a/stdlib/3/getpass.pyi b/stdlib/3/getpass.pyi index 5938d6152..96c542810 100644 --- a/stdlib/3/getpass.pyi +++ b/stdlib/3/getpass.pyi @@ -1,5 +1,13 @@ # Stubs for getpass -# NOTE: These are incomplete! +from typing import TextIO + + +def getpass(prompt: str = ..., stream: TextIO = None): ... + def getuser() -> str: ... + + +class GetPassWarning(UserWarning): + pass