Skip to content

Commit 6c91b1e

Browse files
committed
Fix type annotations for the dictionaries
1 parent 7a3b10a commit 6c91b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hPyT/hPyT.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ class NCCALCSIZE_PARAMS(ctypes.Structure):
9595
rnbbcs: List[int] = []
9696
accent_color_titlebars: List[int] = []
9797
accent_color_borders: List[int] = []
98-
old_wndprocs: Dict[int, int] = {}
99-
new_wndprocs: Dict[int, int] = {}
98+
old_wndprocs: Dict[int, ctypes._CFunctionType] = {}
99+
new_wndprocs: Dict[int, ctypes._CFunctionType] = {}
100100

101101
WINDOWS_VERSION = float(platform.version().split(".")[0])
102102

0 commit comments

Comments
 (0)