Skip to content

Commit a3d07d4

Browse files
author
Michiel de Hoon
committed
only relevant on Windows
1 parent 35758f1 commit a3d07d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/_tkinter.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3405,7 +3405,9 @@ EventHook(void)
34053405
PyErr_SetRaisedException(excInCmd);
34063406
excInCmd = NULL;
34073407
PyErr_Print();
3408+
#ifndef MS_WINDOWS
34083409
if (!stdin_ready) Tcl_DeleteFileHandler(tfile);
3410+
#endif
34093411
}
34103412
PyEval_SaveThread();
34113413
return 0;

0 commit comments

Comments
 (0)