Add missing sentinel to PyCursesWindow_getsets

The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.
This commit is contained in:
Ronald Oussoren 2012-01-17 16:53:20 +01:00
parent c64ae92bf1
commit 2a7fe03528
1 changed files with 2 additions and 1 deletions

View File

@ -2056,7 +2056,8 @@ static PyGetSetDef PyCursesWindow_getsets[] = {
{"encoding",
(getter)PyCursesWindow_get_encoding,
(setter)PyCursesWindow_set_encoding,
"the typecode character used to create the array"}
"the typecode character used to create the array"},
{NULL, NULL, NULL, NULL } /* sentinel */
};
/* -------------------------------------------------------*/