mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437)
This commit is contained in:
parent
9424dcbb3e
commit
83e64c8a54
1 changed files with 1 additions and 1 deletions
|
|
@ -1916,7 +1916,7 @@ static PyObject *
|
||||||
channel_drop_interpreter(PyObject *self, PyObject *args, PyObject *kwds)
|
channel_drop_interpreter(PyObject *self, PyObject *args, PyObject *kwds)
|
||||||
{
|
{
|
||||||
// Note that only the current interpreter is affected.
|
// Note that only the current interpreter is affected.
|
||||||
static char *kwlist[] = {"id", "send", "recv"};
|
static char *kwlist[] = {"id", "send", "recv", NULL};
|
||||||
PyObject *id;
|
PyObject *id;
|
||||||
int send = -1;
|
int send = -1;
|
||||||
int recv = -1;
|
int recv = -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue