We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3306286 commit 9b04160Copy full SHA for 9b04160
Python/compile.c
@@ -3557,16 +3557,16 @@ compiler_try_star_except(struct compiler *c, stmt_ty s)
3557
if (i == 0) {
3558
/* Push the original EG into the stack */
3559
/*
3560
- [val] DUP_TOP
3561
- [orig, val]
+ [exc] DUP_TOP
+ [orig, exc]
3562
*/
3563
ADDOP(c, DUP_TOP);
3564
3565
/* create empty list for exceptions raised/reraise in the except* blocks */
3566
3567
- [orig, val] BUILD_LIST
3568
- [orig, val, []] ROT_TWO
3569
- [orig, [], val]
+ [orig, exc] BUILD_LIST
+ [orig, exc, []] ROT_TWO
+ [orig, [], exc]
3570
3571
ADDOP_I(c, BUILD_LIST, 0);
3572
ADDOP(c, ROT_TWO);
0 commit comments