summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index a8a2188..6d1dbde 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -1074,8 +1074,7 @@ static PyNumberMethods complex_as_number = {
};
PyTypeObject PyComplex_Type = {
- PyObject_HEAD_INIT(&PyType_Type)
- 0,
+ PyVarObject_HEAD_INIT(&PyType_Type, 0)
"complex",
sizeof(PyComplexObject),
0,