From df7d449c9b161a73b393b488603aacebfb64fe80 Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Wed, 3 Jan 2024 18:02:29 -0500 Subject: [PATCH] [Fix] Correct Type Hint --- ttkHyperlinkLabel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttkHyperlinkLabel.py b/ttkHyperlinkLabel.py index fcb973ec..042e83ce 100644 --- a/ttkHyperlinkLabel.py +++ b/ttkHyperlinkLabel.py @@ -36,7 +36,7 @@ if TYPE_CHECKING: class HyperlinkLabel(sys.platform == 'darwin' and tk.Label or ttk.Label): # type: ignore """Clickable label for HTTP links.""" - def __init__(self, master: ttk.Frame | None = None, **kw: Any) -> None: + def __init__(self, master: ttk.Frame | tk.Frame | None = None, **kw: Any) -> None: """ Initialize the HyperlinkLabel.