Files
typeshed/stdlib/getpass.pyi
T
2025-05-10 08:17:04 -07:00

15 lines
401 B
Python

import sys
from typing import TextIO
__all__ = ["getpass", "getuser", "GetPassWarning"]
if sys.version_info >= (3, 14):
def getpass(prompt: str = "Password: ", stream: TextIO | None = None, *, echo_char: str | None = None) -> str: ...
else:
def getpass(prompt: str = "Password: ", stream: TextIO | None = None) -> str: ...
def getuser() -> str: ...
class GetPassWarning(UserWarning): ...