diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2012-01-17 15:53:20 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2012-01-17 15:53:20 (GMT) |
commit | 2a7fe035286b17c4798c22f204cb4cdb5baed687 (patch) | |
tree | f4d87eb80e6a9b4e276a302d136a2de021d3ce66 /Modules/_cursesmodule.c | |
parent | c64ae92bf1348ccb591df29975b5c4f8c07efb6f (diff) | |
download | cpython-2a7fe035286b17c4798c22f204cb4cdb5baed687.zip cpython-2a7fe035286b17c4798c22f204cb4cdb5baed687.tar.gz cpython-2a7fe035286b17c4798c22f204cb4cdb5baed687.tar.bz2 |
Add missing sentinel to PyCursesWindow_getsets
The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 166a93a..64178d7 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 */ }; /* -------------------------------------------------------*/ |