From: Ronald Oussoren Date: Tue, 17 Jan 2012 15:53:20 +0000 (+0100) Subject: Add missing sentinel to PyCursesWindow_getsets X-Git-Tag: v3.3.0a1~369 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a7fe035286b17c4798c22f204cb4cdb5baed687;p=python Add missing sentinel to PyCursesWindow_getsets The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57. --- diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 166a93a6ec..64178d7aef 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -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 */ }; /* -------------------------------------------------------*/