diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py index 82b281e8c8f..6b593d499ea 100644 --- a/winbuild/build_prepare.py +++ b/winbuild/build_prepare.py @@ -375,7 +375,7 @@ def cmd_msbuild( # based on distutils._msvccompiler from CPython 3.7.4 -def find_msvs(architecture) -> dict[str, str] | None: +def find_msvs(architecture: str) -> dict[str, str] | None: root = os.environ.get("ProgramFiles(x86)") or os.environ.get("ProgramFiles") if not root: print("Program Files not found")