tkinter nametowidget() type (#4904)

* nametowidget type

* return Any to prevent having to check return type
This commit is contained in:
Akuli
2021-01-08 16:04:38 +02:00
committed by GitHub
parent 6ab55c737a
commit 804281c547

View File

@@ -369,7 +369,7 @@ class Misc:
def unbind_class(self, className: str, sequence: str) -> None: ...
def mainloop(self, n: int = ...): ...
def quit(self): ...
def nametowidget(self, name): ...
def nametowidget(self, name: Union[str, Misc, _tkinter.Tcl_Obj]) -> Any: ...
register: Any
def keys(self) -> List[str]: ...
@overload