1 from typing import Optional, TextIO 2 3 def getpass(prompt: str = ..., stream: Optional[TextIO] = ...) -> str: ... 4 def getuser() -> str: ... 5 6 class GetPassWarning(UserWarning): ... 7