Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG949b4d545c90: color: suppress pytype warning on a windows-only module
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| indygreg |
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | mercurial/color.py (2 lines) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| daa5d9ce20c7 | a3a4fd72fb60 | Augie Fackler | Nov 6 2019, 2:48 PM |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 |
| ) | ) | ||||
| return msg | return msg | ||||
| w32effects = None | w32effects = None | ||||
| if pycompat.iswindows: | if pycompat.iswindows: | ||||
| import ctypes | import ctypes | ||||
| _kernel32 = ctypes.windll.kernel32 | _kernel32 = ctypes.windll.kernel32 # pytype: disable=module-attr | ||||
| _WORD = ctypes.c_ushort | _WORD = ctypes.c_ushort | ||||
| _INVALID_HANDLE_VALUE = -1 | _INVALID_HANDLE_VALUE = -1 | ||||
| class _COORD(ctypes.Structure): | class _COORD(ctypes.Structure): | ||||
| _fields_ = [(r'X', ctypes.c_short), (r'Y', ctypes.c_short)] | _fields_ = [(r'X', ctypes.c_short), (r'Y', ctypes.c_short)] | ||||