diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 316f9325b64..163c87f8b98 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1779,7 +1779,7 @@ var_perform(VarEvent *ev) PyErr_NormalizeException(&exc, &val, &tb); *(ev->exc_type) = exc; *(ev->exc_val) = val; - Py_DECREF(tb); + Py_XDECREF(tb); } }