# HG changeset patch # User Augie Fackler # Date 1573069702 18000 # Node ID 949b4d545c90a622c96d923058141f6cf4d9ba86 # Parent 9ce76155e0da6d39dbf9b063b689e75416061ee5 color: suppress pytype warning on a windows-only module Differential Revision: https://phab.mercurial-scm.org/D7274 diff -r 9ce76155e0da -r 949b4d545c90 mercurial/color.py --- a/mercurial/color.py Wed Nov 06 14:20:27 2019 -0500 +++ b/mercurial/color.py Wed Nov 06 14:48:22 2019 -0500 @@ -435,7 +435,7 @@ if pycompat.iswindows: import ctypes - _kernel32 = ctypes.windll.kernel32 + _kernel32 = ctypes.windll.kernel32 # pytype: disable=module-attr _WORD = ctypes.c_ushort