Mercurial > cpython-lru_cache-weakref
diff Modules/_cursesmodule.c @ 74464:61211368292d
Add missing sentinel to PyCursesWindow_getsets
The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Tue, 17 Jan 2012 16:53:20 +0100 |
| parents | c3581ca21a57 |
| children | 861a5f3e7453 |
line wrap: on
line diff
--- a/Modules/_cursesmodule.c Mon Jan 16 18:02:21 2012 -0500 +++ b/Modules/_cursesmodule.c Tue Jan 17 16:53:20 2012 +0100 @@ -2056,7 +2056,8 @@ {"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 */ }; /* -------------------------------------------------------*/
