diff --git a/Include/object.h b/Include/object.h index 317515d2c81510..9ecdfd91020abf 100644 --- a/Include/object.h +++ b/Include/object.h @@ -108,7 +108,7 @@ struct _object { #define _PyObject_CAST_CONST(op) ((const PyObject*)(op)) typedef struct { - PyObject ob_base; + PyObject_HEAD Py_ssize_t ob_size; /* Number of items in variable part */ } PyVarObject;