summaryrefslogtreecommitdiffstats
path: root/PC/_winreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/_winreg.c')
-rw-r--r--PC/_winreg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c
index 9dbd186..dcbdf08 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -459,8 +459,7 @@ static PyObject *PyHKEY_getattr(PyObject *self, const char *name);
/* The type itself */
PyTypeObject PyHKEY_Type =
{
- PyObject_HEAD_INIT(0) /* fill in type at module init */
- 0,
+ PyVarObject_HEAD_INIT(0, 0) /* fill in type at module init */
"PyHKEY",
sizeof(PyHKEYObject),
0,