mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
tkinter nametowidget() type (#4904)
* nametowidget type * return Any to prevent having to check return type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user