add types to tkinter invoke methods (#5582)

This commit is contained in:
Akuli authored and GitHub committed 2021-06-06 20:32:30 +02:00
1 parent 68dbab81f4
commit 4b66a9cd4e
2 files changed
+8 -7

No files matched your search

+3 -3
View File
@@ -76,7 +76,7 @@ class Button(Widget):
@overload
def configure(self, cnf: str) -> Tuple[str, str, str, Any, Any]: ...
config = configure
def invoke(self): ...
def invoke(self) -> Any: ...
class Checkbutton(Widget):
def __init__(
@@ -128,7 +128,7 @@ class Checkbutton(Widget):
@overload
def configure(self, cnf: str) -> Tuple[str, str, str, Any, Any]: ...
config = configure
def invoke(self): ...
def invoke(self) -> Any: ...
class Entry(Widget, tkinter.Entry):
def __init__(
@@ -652,7 +652,7 @@ class Radiobutton(Widget):
@overload
def configure(self, cnf: str) -> Tuple[str, str, str, Any, Any]: ...
config = configure
def invoke(self): ...
def invoke(self) -> Any: ...
class Scale(Widget, tkinter.Scale):
def __init__(