From 750ac5f9cf20253333251ea7fd62fbbd71847eb0 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 30 Jan 2018 03:27:55 +0000 Subject: [PATCH] NULL-terminate kwlist. --- Modules/_xxsubinterpretersmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c index ed79a13d4a4006..d2b5f26fae1d09 100644 --- a/Modules/_xxsubinterpretersmodule.c +++ b/Modules/_xxsubinterpretersmodule.c @@ -1916,7 +1916,7 @@ static PyObject * channel_drop_interpreter(PyObject *self, PyObject *args, PyObject *kwds) { // Note that only the current interpreter is affected. - static char *kwlist[] = {"id", "send", "recv"}; + static char *kwlist[] = {"id", "send", "recv", NULL}; PyObject *id; int send = -1; int recv = -1;