Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3252b commit 7d847e2Copy full SHA for 7d847e2
1 file changed
Objects/tupleobject.c
@@ -83,7 +83,7 @@ tuple_alloc(Py_ssize_t size)
83
/* Inline PyObject_InitVar */
84
#ifdef Py_TRACE_REFS
85
Py_SIZE(op) = size;
86
- Py_TYPE(op) = &PyTuple_Type;
+ Py_SET_TYPE(op, &PyTuple_Type);
87
#endif
88
_Py_NewReference((PyObject *)op);
89
}
0 commit comments