[Minor] More Type Hints

This commit is contained in:
David Sangrey committed 2024-01-05 15:39:26 -05:00
1 parent 29c4bd4028
commit 0b90ca7708
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ from monitor import monitor
logger = get_main_logger()
if TYPE_CHECKING:
def _(x): return x
def _(x: str): return x
UserDict = collections.UserDict[str, Any] # indicate to our type checkers what this generic class holds normally
else:
+1 -1
View File
@@ -21,7 +21,7 @@ from EDMCLogging import get_main_logger
if TYPE_CHECKING:
import tkinter as tk
def _(x): return x
def _(x: str): return x
logger = get_main_logger()