mercurial/color.py
changeset 43524 949b4d545c90
parent 43089 c59eb1560c44
child 43554 9f70512ae2cf
equal deleted inserted replaced
43523:9ce76155e0da 43524:949b4d545c90
   433 
   433 
   434 w32effects = None
   434 w32effects = None
   435 if pycompat.iswindows:
   435 if pycompat.iswindows:
   436     import ctypes
   436     import ctypes
   437 
   437 
   438     _kernel32 = ctypes.windll.kernel32
   438     _kernel32 = ctypes.windll.kernel32  # pytype: disable=module-attr
   439 
   439 
   440     _WORD = ctypes.c_ushort
   440     _WORD = ctypes.c_ushort
   441 
   441 
   442     _INVALID_HANDLE_VALUE = -1
   442     _INVALID_HANDLE_VALUE = -1
   443 
   443