Skip to content

Commit

Permalink
bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ericsnowcurrently authored Jan 30, 2018
1 parent 9424dcb commit 83e64c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_xxsubinterpretersmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 83e64c8

Please sign in to comment.