From 7d847e29d76b178c2db66b180065771b4d90c78f Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Tue, 26 May 2020 02:25:28 +0900 Subject: [PATCH] bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391) --- Objects/tupleobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 14534632dfe..e4c0c91cfe8 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -83,7 +83,7 @@ tuple_alloc(Py_ssize_t size) /* Inline PyObject_InitVar */ #ifdef Py_TRACE_REFS Py_SIZE(op) = size; - Py_TYPE(op) = &PyTuple_Type; + Py_SET_TYPE(op, &PyTuple_Type); #endif _Py_NewReference((PyObject *)op); }