need NULL sentinel

This commit is contained in:
Benjamin Peterson 2011-08-02 19:56:11 -05:00
parent 05cd4c602b
commit 4e36d5ae88
1 changed files with 1 additions and 1 deletions

View File

@ -4616,7 +4616,7 @@ static PyObject *
sched_param_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
{
PyObject *res, *priority;
static char *kwlist[] = {"sched_priority"};
static char *kwlist[] = {"sched_priority", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:sched_param", kwlist, &priority))
return NULL;