mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
@@ -645,7 +645,7 @@ class Tk(Misc, Wm):
|
||||
# Tk has __getattr__ so that tk_instance.foo falls back to tk_instance.tk.foo
|
||||
# Please keep in sync with _tkinter.TkappType
|
||||
call: Callable[..., Any]
|
||||
eval: Callable[[str], str]
|
||||
def eval(self, __code: str) -> str: ...
|
||||
adderrorinfo: Any
|
||||
createcommand: Any
|
||||
createfilehandler: Any
|
||||
|
||||
@@ -382,6 +382,7 @@ threading.Thread.__init__
|
||||
timeit.main
|
||||
tkinter.Misc.grid_propagate
|
||||
tkinter.Misc.pack_propagate
|
||||
tkinter.Tk.eval # from __getattr__
|
||||
tkinter.Tk.report_callback_exception # A bit of a lie, since it's actually a method, but typing it as an attribute allows it to be assigned to
|
||||
tkinter.Wm.wm_iconphoto # Default value of argument can't be used without runtime error
|
||||
tkinter.font.Font.__getitem__ # Argument name differs (doesn't matter for __dunder__ methods)
|
||||
|
||||
Reference in New Issue
Block a user