Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 90db465

Browse filesBrowse files
authored
bpo-40521: Cleanup finalize_interp_types() (GH-21265)
Remove the now unused is_main_interp parameter of finalize_interp_types().
1 parent 6b34d7b commit 90db465
Copy full SHA for 90db465

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎Python/pylifecycle.c

Copy file name to clipboardExpand all lines: Python/pylifecycle.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ flush_std_files(void)
12571257

12581258

12591259
static void
1260-
finalize_interp_types(PyThreadState *tstate, int is_main_interp)
1260+
finalize_interp_types(PyThreadState *tstate)
12611261
{
12621262
_PyExc_Fini(tstate);
12631263
_PyFrame_Fini(tstate);
@@ -1300,7 +1300,7 @@ finalize_interp_clear(PyThreadState *tstate)
13001300

13011301
_PyWarnings_Fini(tstate->interp);
13021302

1303-
finalize_interp_types(tstate, is_main_interp);
1303+
finalize_interp_types(tstate);
13041304
}
13051305

13061306

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.