Skip to content

Commit 1f5323c

Browse files
committed
fix crash
1 parent 09e7fb4 commit 1f5323c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ast_opt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (Py_EnterRecursiveCall(" during compilation")) { \
3838
static ControlFlowInFinallyContext*
3939
get_cf_finally_top(_PyASTOptimizeState *state)
4040
{
41-
int idx = state->cf_finally_used+1;
41+
int idx = state->cf_finally_used;
4242
return state->cf_finally.array + idx * sizeof(ControlFlowInFinallyContext);
4343
}
4444

0 commit comments

Comments
 (0)