stdlib: add argument default values (#9501)

This commit is contained in:
Jelle Zijlstra
2023-01-18 00:37:34 -08:00
committed by GitHub
parent 6cb934291f
commit ddfaca3200
272 changed files with 2529 additions and 2467 deletions

View File

@@ -2,7 +2,7 @@ from typing import TextIO
__all__ = ["getpass", "getuser", "GetPassWarning"]
def getpass(prompt: str = ..., stream: TextIO | None = ...) -> str: ...
def getpass(prompt: str = "Password: ", stream: TextIO | None = None) -> str: ...
def getuser() -> str: ...
class GetPassWarning(UserWarning): ...