[Python-checkins] cpython: Add missing sentinel to PyCursesWindow_getsets
ronald.oussoren
python-checkins at python.org
Tue Jan 17 16:53:34 CET 2012
http://hg.python.org/cpython/rev/61211368292d
changeset: 74464:61211368292d
parent: 74462:ffb58df8f9ea
user: Ronald Oussoren <ronaldoussoren at mac.com>
date: Tue Jan 17 16:53:20 2012 +0100
summary:
Add missing sentinel to PyCursesWindow_getsets
The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.
files:
Modules/_cursesmodule.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -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 */
};
/* -------------------------------------------------------*/
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list