bpo-40521: Cleanup finalize_interp_types() (GH-21265)

Remove the now unused is_main_interp parameter of
finalize_interp_types().
This commit is contained in:
Victor Stinner 2020-07-01 23:21:36 +02:00 committed by GitHub
parent 6b34d7b51e
commit 90db4653ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}