type hinting

This commit is contained in:
Huy Pham 2020-01-14 14:02:37 -08:00
parent c22f1680f7
commit a0c04c0809
5 changed files with 30 additions and 18 deletions

View file

@ -13,7 +13,7 @@ if TYPE_CHECKING:
class StatusBar(ttk.Frame):
def __init__(self, master: tk.Widget, app: "Application", **kwargs):
def __init__(self, master: "Application", app: "Application", **kwargs):
super().__init__(master, **kwargs)
self.app = app
self.status = None