Skip to content

Commit 83e64c8

Browse files
bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437)
1 parent 9424dcb commit 83e64c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_xxsubinterpretersmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@ static PyObject *
19161916
channel_drop_interpreter(PyObject *self, PyObject *args, PyObject *kwds)
19171917
{
19181918
// Note that only the current interpreter is affected.
1919-
static char *kwlist[] = {"id", "send", "recv"};
1919+
static char *kwlist[] = {"id", "send", "recv", NULL};
19201920
PyObject *id;
19211921
int send = -1;
19221922
int recv = -1;

0 commit comments

Comments
 (0)