Bump getpass to 3.14 (#13967)

This commit is contained in:
Semyon Moroz
2025-05-10 15:17:04 +00:00
committed by GitHub
parent 2d50d6b316
commit 6308997a13
2 changed files with 7 additions and 2 deletions
@@ -394,7 +394,6 @@ functools.reduce
functools.reduce
functools.update_wrapper
functools.wraps
getpass.getpass
gzip.GzipFile.readinto
gzip.GzipFile.readinto
gzip.GzipFile.readinto1
+7 -1
View File
@@ -1,8 +1,14 @@
import sys
from typing import TextIO
__all__ = ["getpass", "getuser", "GetPassWarning"]
def getpass(prompt: str = "Password: ", stream: TextIO | None = None) -> str: ...
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): ...