# HG changeset patch # User Augie Fackler # Date 2019-11-06 19:48:22 # Node ID 949b4d545c90a622c96d923058141f6cf4d9ba86 # Parent 9ce76155e0da6d39dbf9b063b689e75416061ee5 color: suppress pytype warning on a windows-only module Differential Revision: https://phab.mercurial-scm.org/D7274 diff --git a/mercurial/color.py b/mercurial/color.py --- a/mercurial/color.py +++ b/mercurial/color.py @@ -435,7 +435,7 @@ w32effects = None if pycompat.iswindows: import ctypes - _kernel32 = ctypes.windll.kernel32 + _kernel32 = ctypes.windll.kernel32 # pytype: disable=module-attr _WORD = ctypes.c_ushort