We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cf04a commit beb64bcCopy full SHA for beb64bc
Python/compile.c
@@ -3475,6 +3475,8 @@ compiler_try_except(struct compiler *c, stmt_ty s)
3475
POP_EXCEPT_AND_RERAISE(c);
3476
compiler_use_next_block(c, orelse);
3477
VISIT_SEQ(c, stmt, s->v.Try.orelse);
3478
+ UNSET_LOC(c);
3479
+ ADDOP_JUMP(c, JUMP_FORWARD, end);
3480
compiler_use_next_block(c, end);
3481
return 1;
3482
}
@@ -3701,6 +3703,8 @@ compiler_try_star_except(struct compiler *c, stmt_ty s)
3701
3703
3702
3704
3705
VISIT_SEQ(c, stmt, s->v.TryStar.orelse);
3706
3707
3708
3709
3710
0 commit comments