commit | 7d847e29d76b178c2db66b180065771b4d90c78f | [log] [tgz] |
---|---|---|
author | Dong-hee Na <donghee.na92@gmail.com> | Tue May 26 02:25:28 2020 +0900 |
committer | GitHub <noreply@github.com> | Tue May 26 02:25:28 2020 +0900 |
tree | e5172e8006a9771492b03fbcf1998f3893f21523 | |
parent | ad3252bad905d41635bcbb4b76db30d570cf0087 [diff] |
bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391)
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 1453463..e4c0c91 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c
@@ -83,7 +83,7 @@ /* 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); }