Skip to content

Commit 9b04160

Browse files
committed
val --> exc in comment
1 parent 3306286 commit 9b04160

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Python/compile.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -3557,16 +3557,16 @@ compiler_try_star_except(struct compiler *c, stmt_ty s)
35573557
if (i == 0) {
35583558
/* Push the original EG into the stack */
35593559
/*
3560-
[val] DUP_TOP
3561-
[orig, val]
3560+
[exc] DUP_TOP
3561+
[orig, exc]
35623562
*/
35633563
ADDOP(c, DUP_TOP);
35643564

35653565
/* create empty list for exceptions raised/reraise in the except* blocks */
35663566
/*
3567-
[orig, val] BUILD_LIST
3568-
[orig, val, []] ROT_TWO
3569-
[orig, [], val]
3567+
[orig, exc] BUILD_LIST
3568+
[orig, exc, []] ROT_TWO
3569+
[orig, [], exc]
35703570
*/
35713571
ADDOP_I(c, BUILD_LIST, 0);
35723572
ADDOP(c, ROT_TWO);

0 commit comments

Comments
 (0)