mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 15:33:47 +08:00
stdlib: add some parameter defaults (#14610)
This commit is contained in:
1 parent
310c161af7
commit
02a4b07b54
14 files changed
+30
-22
No files matched your search
@@ -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