mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
tkinter: fix variable parameter to wait_variable (#4194)
The tkinter `wait_variable` function can be called with either the name of a variable (a `str`) or an actual variable object (a `Variable`).
This commit is contained in:
@@ -63,7 +63,7 @@ class Misc:
|
||||
def tk_bisque(self): ...
|
||||
def tk_setPalette(self, *args, **kw): ...
|
||||
def tk_menuBar(self, *args): ...
|
||||
def wait_variable(self, name: str = ...): ...
|
||||
def wait_variable(self, name: Union[str, Variable] = ...): ...
|
||||
waitvar: Any
|
||||
def wait_window(self, window: Optional[Any] = ...): ...
|
||||
def wait_visibility(self, window: Optional[Any] = ...): ...
|
||||
|
||||
Reference in New Issue
Block a user