bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391) · python/cpython@7d847e2 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 7d847e2
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
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 | } |