Skip to content

Commit

Permalink
bpo-40521: Cleanup finalize_interp_types() (GH-21265)
Browse files Browse the repository at this point in the history
Remove the now unused is_main_interp parameter of
finalize_interp_types().
  • Loading branch information
vstinner committed Jul 1, 2020
1 parent 6b34d7b commit 90db465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/pylifecycle.c
Expand Up @@ -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);
Expand Down Expand Up @@ -1300,7 +1300,7 @@ finalize_interp_clear(PyThreadState *tstate)

_PyWarnings_Fini(tstate->interp);

finalize_interp_types(tstate, is_main_interp);
finalize_interp_types(tstate);
}


Expand Down

0 comments on commit 90db465

Please sign in to comment.