mirror of https://github.com/python/cpython
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:
parent
6b34d7b51e
commit
90db4653ae
|
@ -1257,7 +1257,7 @@ flush_std_files(void)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
finalize_interp_types(PyThreadState *tstate, int is_main_interp)
|
finalize_interp_types(PyThreadState *tstate)
|
||||||
{
|
{
|
||||||
_PyExc_Fini(tstate);
|
_PyExc_Fini(tstate);
|
||||||
_PyFrame_Fini(tstate);
|
_PyFrame_Fini(tstate);
|
||||||
|
@ -1300,7 +1300,7 @@ finalize_interp_clear(PyThreadState *tstate)
|
||||||
|
|
||||||
_PyWarnings_Fini(tstate->interp);
|
_PyWarnings_Fini(tstate->interp);
|
||||||
|
|
||||||
finalize_interp_types(tstate, is_main_interp);
|
finalize_interp_types(tstate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue