tkinter.Tk.eval self fix (#5023)

Fixes #5019
This commit is contained in:
Akuli
2021-02-15 17:52:06 +02:00
committed by GitHub
parent 0b1cd59896
commit 903f74a68e
2 changed files with 2 additions and 1 deletions

View File

@@ -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