mirror of
https://github.com/python/cpython.git
synced 2025-09-02 06:57:58 +00:00
gh-98789: Fix FOR_ITER assert on big-endian (GH-98792)
Fix FOR_ITER assertion syntax
This commit is contained in:
parent
3e07f827b3
commit
fbcafa6eee
1 changed files with 1 additions and 1 deletions
|
@ -3852,7 +3852,7 @@ handle_eval_breaker:
|
||||||
_PyErr_Clear(tstate);
|
_PyErr_Clear(tstate);
|
||||||
}
|
}
|
||||||
/* iterator ended normally */
|
/* iterator ended normally */
|
||||||
assert(_Py_OPCODE(next_instr[INLINE_CACHE_ENTRIES_FOR_ITER + oparg] == END_FOR));
|
assert(_Py_OPCODE(next_instr[INLINE_CACHE_ENTRIES_FOR_ITER + oparg]) == END_FOR);
|
||||||
STACK_SHRINK(1);
|
STACK_SHRINK(1);
|
||||||
Py_DECREF(iter);
|
Py_DECREF(iter);
|
||||||
/* Skip END_FOR */
|
/* Skip END_FOR */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue