1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

[Fix] Correct Type Hint

This commit is contained in:
David Sangrey 2024-01-03 18:02:29 -05:00
parent 1cd62aea24
commit df7d449c9b
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

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.