[Python-checkins] r85108 - python/branches/py3k-issue9978/Lib/test/win_console_handler.py
hirokazu.yamamoto
python-checkins at python.org
Wed Sep 29 16:51:00 CEST 2010
Author: hirokazu.yamamoto
Date: Wed Sep 29 16:51:00 2010
New Revision: 85108
Log:
Wrongly reverted actual fix.
Modified:
python/branches/py3k-issue9978/Lib/test/win_console_handler.py
Modified: python/branches/py3k-issue9978/Lib/test/win_console_handler.py
==============================================================================
--- python/branches/py3k-issue9978/Lib/test/win_console_handler.py (original)
+++ python/branches/py3k-issue9978/Lib/test/win_console_handler.py Wed Sep 29 16:51:00 2010
@@ -15,7 +15,7 @@
import sys
# Function prototype for the handler function. Returns BOOL, takes a DWORD.
-HandlerRoutine = wintypes.WINFUNCTYPE(wintypes.BOOL, wintypes.DWORD)
+HandlerRoutine = ctypes.WINFUNCTYPE(wintypes.BOOL, wintypes.DWORD)
def _ctrl_handler(sig):
"""Handle a sig event and return 0 to terminate the process"""
More information about the Python-checkins
mailing list