Mercurial > cpython-lru_cache-weakref
diff Modules/_tkinter.c @ 4600:d36250aefb82 legacy-trunk
Keep gcc -Wall happy.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 05 Dec 1996 23:43:35 +0000 |
| parents | 65d2d8e67da3 |
| children | 7b1e784e20a0 |
line wrap: on
line diff
--- a/Modules/_tkinter.c Thu Dec 05 23:41:26 1996 +0000 +++ b/Modules/_tkinter.c Thu Dec 05 23:43:35 1996 +0000 @@ -1051,7 +1051,7 @@ { TkttObject *v = (TkttObject *) self; - fprintf(fp, "<tktimertoken at 0x%x%s>", v, + fprintf(fp, "<tktimertoken at 0x%lx%s>", (long)v, v->func == NULL ? ", handler deleted" : ""); return 0; } @@ -1139,6 +1139,7 @@ quitMainLoop = 0; while (Tk_GetNumMainWindows() > threshold && !quitMainLoop && !errorInCmd) { + /* XXX Ought to check for other signals! */ if (PyOS_InterruptOccurred ()) { PyErr_SetNone (PyExc_KeyboardInterrupt);
