diff options
-rw-r--r-- | Objects/tupleobject.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 2286b01..4b7714c 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -74,6 +74,10 @@ PyTuple_New(size) #ifdef COUNT_ALLOCS fast_tuple_allocs++; #endif +#ifdef Py_TRACE_REFS + op->ob_type = &PyTuple_Type; + op->ob_size = size; +#endif } else #endif |