diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-08-03 00:56:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-08-03 00:56:11 (GMT) |
commit | 4e36d5ae883ef2718a8599ad1313679f4e7483c1 (patch) | |
tree | c63c51442e1f2f66cb1c5b89eca412a36684e541 /Modules/posixmodule.c | |
parent | 05cd4c602b4f16606dd046dfad51f1d0465d9d85 (diff) | |
download | cpython-4e36d5ae883ef2718a8599ad1313679f4e7483c1.zip cpython-4e36d5ae883ef2718a8599ad1313679f4e7483c1.tar.gz cpython-4e36d5ae883ef2718a8599ad1313679f4e7483c1.tar.bz2 |
need NULL sentinel
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index f4461c0..572b5d1 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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; |