From 2a7fe035286b17c4798c22f204cb4cdb5baed687 Mon Sep 17 00:00:00 2001
From: Ronald Oussoren <ronaldoussoren@mac.com>
Date: Tue, 17 Jan 2012 16:53:20 +0100
Subject: [PATCH] Add missing sentinel to PyCursesWindow_getsets

The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.
---
 Modules/_cursesmodule.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 */
 };
 
 /* -------------------------------------------------------*/
-- 
2.40.0