We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tkinter.commondialog
1 parent 1511911 commit 47cfbeeCopy full SHA for 47cfbee
stdlib/tkinter/commondialog.pyi
@@ -1,12 +1,14 @@
1
-from _typeshed import Incomplete
2
from collections.abc import Mapping
3
-from typing import ClassVar
+from tkinter import Misc
+from typing import Any, ClassVar
4
5
__all__ = ["Dialog"]
6
7
class Dialog:
8
command: ClassVar[str | None]
9
- master: Incomplete | None
10
- options: Mapping[str, Incomplete]
11
- def __init__(self, master=None, **options) -> None: ...
12
- def show(self, **options): ...
+ master: Misc | None
+ # Types of options are very dynamic. They depend on the command and are
+ # sometimes changed to a different type.
+ options: Mapping[str, Any]
13
+ def __init__(self, master: Misc | None = None, **options: Any) -> None: ...
14
+ def show(self, **options: Any): ...
0 commit comments