summaryrefslogtreecommitdiff
path: root/Doc/includes/shoddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/shoddy.c')
-rw-r--r--Doc/includes/shoddy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/shoddy.c b/Doc/includes/shoddy.c
index 07a272124c..0c6d412b3c 100644
--- a/Doc/includes/shoddy.c
+++ b/Doc/includes/shoddy.c
@@ -31,7 +31,7 @@ Shoddy_init(Shoddy *self, PyObject *args, PyObject *kwds)
static PyTypeObject ShoddyType = {
- PyObject_HEAD_INIT(NULL)
+ PyVarObject_HEAD_INIT(NULL, 0)
"shoddy.Shoddy", /* tp_name */
sizeof(Shoddy), /* tp_basicsize */
0, /* tp_itemsize */