summaryrefslogtreecommitdiffstats
path: root/Modules/xxsubtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/xxsubtype.c')
-rw-r--r--Modules/xxsubtype.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c
index cdf6d07..ae2b619 100644
--- a/Modules/xxsubtype.c
+++ b/Modules/xxsubtype.c
@@ -55,8 +55,9 @@ spamlist_state_get(spamlistobject *self)
return PyInt_FromLong(self->state);
}
-static struct getsetlist spamlist_getsets[] = {
- {"state", (getter)spamlist_state_get, NULL, NULL},
+static PyGetSetDef spamlist_getsets[] = {
+ {"state", (getter)spamlist_state_get, NULL,
+ "an int variable for demonstration purposes"},
{0}
};