[Fix] Correct Type Hint

This commit is contained in:
David Sangrey committed 2024-01-03 18:02:29 -05:00
1 parent 1cd62aea24
commit df7d449c9b
1 file changed
+1 -1
+1 -1
View File
@@ -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.