Skip to content

Commit 48c3e2c

Browse files
Fix warning about remaining subinterpreters
1 parent 209eaff commit 48c3e2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,7 @@ finalize_subinterpreters(void)
26432643
(void)PyErr_WarnEx(
26442644
PyExc_RuntimeWarning,
26452645
"remaining subinterpreters; "
2646-
"destroy them with _interpreters.destroy()",
2646+
"close them with Interpreter.close()",
26472647
0);
26482648

26492649
/* Swap out the current tstate, which we know must belong

0 commit comments

Comments
 (0)