summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2022-10-28 06:42:39 (GMT)
committerGitHub <noreply@github.com>2022-10-28 06:42:39 (GMT)
commitfbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9 (patch)
tree27e2bd2c8ed1e6c49b347cc83738804e1306dcd0 /Python/ceval.c
parent3e07f827b359617664ad0880f218f17ae4483299 (diff)
downloadcpython-fbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9.zip
cpython-fbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9.tar.gz
cpython-fbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9.tar.bz2
gh-98789: Fix FOR_ITER assert on big-endian (GH-98792)
Fix FOR_ITER assertion syntax
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index ac995d7..24af419 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3852,7 +3852,7 @@ handle_eval_breaker:
_PyErr_Clear(tstate);
}
/* 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);
Py_DECREF(iter);
/* Skip END_FOR */