From 08bba395a9239128acf33be073241ec5250c29c1 Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 26 Oct 2020 13:30:34 +0200 Subject: [PATCH] Removed star import --- l10n.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/l10n.py b/l10n.py index cbd00d9b..7b6f8b29 100755 --- a/l10n.py +++ b/l10n.py @@ -37,7 +37,9 @@ if platform == 'darwin': elif platform == 'win32': import ctypes - from ctypes.wintypes import * + from ctypes.wintypes import BOOL, DWORD, LPCVOID, LPCWSTR, LPWSTR + if TYPE_CHECKING: + import ctypes.windll # type: ignore # Magic to make linters not complain that windll is special # https://msdn.microsoft.com/en-us/library/windows/desktop/dd318124%28v=vs.85%29.aspx MUI_LANGUAGE_ID = 4