diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 214263fc439..51c24d13f51 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -219,7 +219,7 @@ t_bootstrap(boot_raw) PyErr_Clear(); else { fprintf(stderr, "Unhandled exception in thread:\n"); - PyErr_Print(); + PyErr_PrintEx(0); } } else