##// END OF EJS Templates
win32.py: more explicit definition of _STD_ERROR_HANDLE
Adrian Buehlmann -
r14344:e1db8a00 default
parent child Browse files
Show More
@@ -120,7 +120,7 b' class _CONSOLE_SCREEN_BUFFER_INFO(ctypes'
120 120 ('srWindow', _SMALL_RECT),
121 121 ('dwMaximumWindowSize', _COORD)]
122 122
123 _STD_ERROR_HANDLE = 0xfffffff4L # (DWORD)-12
123 _STD_ERROR_HANDLE = _DWORD(-12).value
124 124
125 125 def _raiseoserror(name):
126 126 err = ctypes.WinError()
General Comments 0
You need to be logged in to leave comments. Login now