summaryrefslogtreecommitdiffstats
path: root/Doc/includes/noddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/noddy.c')
-rw-r--r--Doc/includes/noddy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/noddy.c b/Doc/includes/noddy.c
index 3f37434..8f79fcf 100644
--- a/Doc/includes/noddy.c
+++ b/Doc/includes/noddy.c
@@ -6,7 +6,7 @@ typedef struct {
} noddy_NoddyObject;
static PyTypeObject noddy_NoddyType = {
- PyObject_HEAD_INIT(NULL)
+ PyVarObject_HEAD_INIT(NULL, 0)
"noddy.Noddy", /* tp_name */
sizeof(noddy_NoddyObject), /* tp_basicsize */
0, /* tp_itemsize */