File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -145,12 +145,12 @@ _PyTuple_MaybeUntrack(PyObject *op)
145145 t = (PyTupleObject * ) op ;
146146 n = Py_SIZE (t );
147147 for (i = 0 ; i < n ; i ++ ) {
148- PyObject * elt = PyTuple_GET_ITEM (t , i );
148+ PyObject * item = PyTuple_GET_ITEM (t , i );
149149 /* Tuple with NULL elements aren't
150150 fully constructed, don't untrack
151151 them yet. */
152- if (!elt ||
153- _PyObject_GC_MAY_BE_TRACKED (elt ))
152+ if (!item ||
153+ _PyObject_GC_MAY_BE_TRACKED (item ))
154154 return ;
155155 }
156156 _PyObject_GC_UNTRACK (op );
@@ -159,13 +159,13 @@ _PyTuple_MaybeUntrack(PyObject *op)
159159static bool
160160tuple_need_tracking (PyTupleObject * self )
161161{
162- Py_ssize_t n = PyTuple_GET_SIZE (t );
162+ Py_ssize_t n = PyTuple_GET_SIZE (self );
163163 for (Py_ssize_t i = 0 ; i < n ; i ++ ) {
164- PyObject * elt = PyTuple_GET_ITEM (t , i );
164+ PyObject * item = PyTuple_GET_ITEM (self , i );
165165 /* Tuple with NULL elements aren't
166166 fully constructed, we should track them. */
167- if (!elt ||
168- _PyObject_GC_MAY_BE_TRACKED (elt )) {
167+ if (!item ||
168+ _PyObject_GC_MAY_BE_TRACKED (item )) {
169169 return true;
170170 }
171171 }
You can’t perform that action at this time.
0 commit comments