gh-142913: Update generated code that conflicted with other landed change (#143932)

Update test cases
This commit is contained in:
Dino Viehland 2026-01-16 11:10:15 -08:00 committed by GitHub
parent 4d5a676aa0
commit 5996636ab5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6226,7 +6226,6 @@
_Py_GatherStats_GetIter(iterable);
stack_pointer = _PyFrame_GetStackPointer(frame);
#endif
PyTypeObject *tp = PyStackRef_TYPE(iterable);
if (tp == &PyTuple_Type || tp == &PyList_Type) {
iter = iterable;
@ -10427,7 +10426,7 @@
if (gen == NULL) {
JUMP_TO_LABEL(error);
}
assert(STACK_LEVEL() == 0);
assert(STACK_LEVEL() <= 2);
_PyFrame_SetStackPointer(frame, stack_pointer);
_PyInterpreterFrame *gen_frame = &gen->gi_iframe;
frame->instr_ptr++;