mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
stdlib: add some parameter defaults (#14610)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user