diff options
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index da90559..d7a4fe1 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1705,7 +1705,7 @@ Tktt_Repr(self) TkttObject *v = (TkttObject *)self; char buf[100]; - sprintf(buf, "<tktimertoken at 0x%lx%s>", (long)v, + sprintf(buf, "<tktimertoken at %p%s>", v, v->func == NULL ? ", handler deleted" : ""); return PyString_FromString(buf); } |