From 90db4653ae37ef90754cfd2cd6ec6857b87a88e6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 1 Jul 2020 23:21:36 +0200 Subject: bpo-40521: Cleanup finalize_interp_types() (GH-21265) Remove the now unused is_main_interp parameter of finalize_interp_types(). --- Python/pylifecycle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index cd993ea..cfbaf21 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1257,7 +1257,7 @@ flush_std_files(void) static void -finalize_interp_types(PyThreadState *tstate, int is_main_interp) +finalize_interp_types(PyThreadState *tstate) { _PyExc_Fini(tstate); _PyFrame_Fini(tstate); @@ -1300,7 +1300,7 @@ finalize_interp_clear(PyThreadState *tstate) _PyWarnings_Fini(tstate->interp); - finalize_interp_types(tstate, is_main_interp); + finalize_interp_types(tstate); } -- cgit v0.12