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:
Christopher Head
2020-06-06 14:41:42 -07:00
committed by GitHub
parent 34b9cfcdcf
commit 5b36051f77

View File

@@ -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] = ...): ...