mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
gh-142913: Update generated code that conflicted with other landed change (#143932)
Update test cases
This commit is contained in:
parent
4d5a676aa0
commit
5996636ab5
@ -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++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user