bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391) · python/cpython@7d847e2 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 7d847e2
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -83,7 +83,7 @@ tuple_alloc(Py_ssize_t size) | ||
83 | 83 | /* Inline PyObject_InitVar */ |
84 | 84 | #ifdef Py_TRACE_REFS |
85 | 85 | Py_SIZE(op) = size; |
86 | -Py_TYPE(op) = &PyTuple_Type; | |
86 | +Py_SET_TYPE(op, &PyTuple_Type); | |
87 | 87 | #endif |
88 | 88 | _Py_NewReference((PyObject *)op); |
89 | 89 | } |