bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391)

This commit is contained in:
Dong-hee Na 2020-05-26 02:25:28 +09:00 committed by GitHub
parent ad3252bad9
commit 7d847e29d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}