stdlib: add some parameter defaults (#14610)

This commit is contained in:
Jelle Zijlstra
2025-08-21 00:17:33 -07:00
committed by GitHub
parent 310c161af7
commit 02a4b07b54
14 changed files with 30 additions and 22 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ def showinfo(
*,
detail: str = ...,
icon: Literal["error", "info", "question", "warning"] = ...,
default: Literal["ok"] = ...,
default: Literal["ok"] = "ok",
parent: Misc = ...,
) -> str: ...
def showwarning(
@@ -39,7 +39,7 @@ def showwarning(
*,
detail: str = ...,
icon: Literal["error", "info", "question", "warning"] = ...,
default: Literal["ok"] = ...,
default: Literal["ok"] = "ok",
parent: Misc = ...,
) -> str: ...
def showerror(
@@ -48,7 +48,7 @@ def showerror(
*,
detail: str = ...,
icon: Literal["error", "info", "question", "warning"] = ...,
default: Literal["ok"] = ...,
default: Literal["ok"] = "ok",
parent: Misc = ...,
) -> str: ...
def askquestion(