We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c700af commit fb8fe72Copy full SHA for fb8fe72
2 files changed
Doc/includes/setup.py
@@ -5,4 +5,5 @@
5
Extension("noddy2", ["noddy2.c"]),
6
Extension("noddy3", ["noddy3.c"]),
7
Extension("noddy4", ["noddy4.c"]),
8
+ Extension("shoddy", ["shoddy.c"]),
9
])
Doc/includes/shoddy.c
@@ -31,7 +31,7 @@ Shoddy_init(Shoddy *self, PyObject *args, PyObject *kwds)
31
32
33
static PyTypeObject ShoddyType = {
34
- PyObject_HEAD_INIT(NULL)
+ PyVarObject_HEAD_INIT(NULL, 0)
35
"shoddy.Shoddy", /* tp_name */
36
sizeof(Shoddy), /* tp_basicsize */
37
0, /* tp_itemsize */
0 commit comments