mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
tkinter.simpledialog.ask* functions can return None (#7219)
This commit is contained in:
1 parent
1903038adb
commit
409beea616
1 file changed
+3
-3
@@ -22,6 +22,6 @@ class SimpleDialog:
|
||||
def wm_delete_window(self) -> None: ...
|
||||
def done(self, num: int) -> None: ...
|
||||
|
||||
def askfloat(title: str | None, prompt: str, **kwargs: Any) -> float: ...
|
||||
def askinteger(title: str | None, prompt: str, **kwargs: Any) -> int: ...
|
||||
def askstring(title: str | None, prompt: str, **kwargs: Any) -> str: ...
|
||||
def askfloat(title: str | None, prompt: str, **kwargs: Any) -> float | None: ...
|
||||
def askinteger(title: str | None, prompt: str, **kwargs: Any) -> int | None: ...
|
||||
def askstring(title: str | None, prompt: str, **kwargs: Any) -> str | None: ...
|
||||
Reference in new issue
Block a user