summaryrefslogtreecommitdiffstats
path: root/Objects/bufferobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/bufferobject.c')
-rw-r--r--Objects/bufferobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/bufferobject.c b/Objects/bufferobject.c
index 4b38aa2..64b11a9 100644
--- a/Objects/bufferobject.c
+++ b/Objects/bufferobject.c
@@ -710,8 +710,7 @@ static PyBufferProcs buffer_as_buffer = {
};
PyTypeObject PyBuffer_Type = {
- PyObject_HEAD_INIT(&PyType_Type)
- 0,
+ PyVarObject_HEAD_INIT(&PyType_Type, 0)
"buffer",
sizeof(PyBufferObject),
0,