File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ PySeqIter_New(PyObject *seq)
23
23
return NULL ;
24
24
}
25
25
26
- it = 0 ; // _Py_FREELIST_POP(seqiterobject, shared_iters);
26
+ it = _Py_FREELIST_POP (seqiterobject , shared_iters );
27
27
if (it == NULL ) {
28
28
it = PyObject_GC_New (seqiterobject , & PySeqIter_Type );
29
29
if (it == NULL )
Original file line number Diff line number Diff line change @@ -3914,7 +3914,7 @@ list_iter(PyObject *seq)
3914
3914
PyErr_BadInternalCall ();
3915
3915
return NULL ;
3916
3916
}
3917
- _PyListIterObject * it = 0 ; // _Py_FREELIST_POP(_PyListIterObject, shared_iters);
3917
+ _PyListIterObject * it = _Py_FREELIST_POP (_PyListIterObject , shared_iters );
3918
3918
if (it == NULL ) {
3919
3919
it = PyObject_GC_New (_PyListIterObject , & PyListIter_Type );
3920
3920
if (it == NULL ) {
Original file line number Diff line number Diff line change @@ -1123,7 +1123,7 @@ tuple_iter(PyObject *seq)
1123
1123
PyErr_BadInternalCall ();
1124
1124
return NULL ;
1125
1125
}
1126
- it = 0 ; // _Py_FREELIST_POP(_PyTupleIterObject, shared_iters);
1126
+ it = _Py_FREELIST_POP (_PyTupleIterObject , shared_iters );
1127
1127
1128
1128
if (it == NULL ) {
1129
1129
it = PyObject_GC_New (_PyTupleIterObject , & PyTupleIter_Type );
You can’t perform that action at this time.
0 commit comments