8000 bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391) · python/cpython@7d847e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d847e2

Browse files
authored
bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391)
1 parent ad3252b commit 7d847e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/tupleobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ tuple_alloc(Py_ssize_t size)
8383
/* Inline PyObject_InitVar */
8484
#ifdef Py_TRACE_REFS
8585
Py_SIZE(op) = size;
86-
Py_TYPE(op) = &PyTuple_Type;
86+
Py_SET_TYPE(op, &PyTuple_Type);
8787
#endif
8888
_Py_NewReference((PyObject *)op);
8989
}

0 commit comments

Comments
 (0)
0