10000 Cleanup · python/cpython@7a23b5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a23b5e

Browse files
committed
Cleanup
1 parent b72b086 commit 7a23b5e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Lib/importlib/_bootstrap_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def _write_atomic(path, data, mode=0o666):
403403
# Python 3.11a7 3492 (make POP_JUMP_IF_NONE/NOT_NONE/TRUE/FALSE relative)
404404
# Python 3.11a7 3493 (Make JUMP_IF_TRUE_OR_POP/JUMP_IF_FALSE_OR_POP relative)
405405
# Python 3.11a7 3494 (New location info table)
406-
# Python 3.11a6 3495 (Add THROW)
406+
# Python 3.11a7 3495 (Add THROW)
407407

408408
# Python 3.12 will start with magic number 3500
409409

Python/compile.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,10 +1962,8 @@ compiler_add_yield_from(struct compiler *c, int await)
19621962
RETURN_IF_FALSE(body = compiler_new_block(c));
19631963
RETURN_IF_FALSE(except = compiler_new_block(c));
19641964
RETURN_IF_FALSE(exit = compiler_new_block(c));
1965-
19661965
compiler_use_next_block(c, start);
19671966
ADDOP_JUMP(c, SEND, exit);
1968-
19691967
compiler_use_next_block(c, body);
19701968
ADDOP_JUMP(c, SETUP_FINALLY, except);
19711969
RETURN_IF_FALSE(compiler_push_fblock(c, TRY_EXCEPT, body, NULL, NULL));
@@ -1975,12 +1973,10 @@ compiler_add_yield_from(struct compiler *c, int await)
19751973
ADDOP_NOLINE(c, POP_BLOCK);
19761974
ADDOP_I(c, RESUME, await ? 3 : 2);
19771975
ADDOP_JUMP(c, JUMP_NO_INTERRUPT, start);
1978-
19791976
compiler_use_next_block(c, except);
19801977
ADDOP_JUMP(c, THROW, exit);
19811978
ADDOP_I(c, RESUME, await ? 3 : 2);
19821979
ADDOP_JUMP(c, JUMP_NO_INTERRUPT, body);
1983-
19841980
compiler_use_next_block(c, exit);
19851981
return 1;
19861982
}

0 commit comments

Comments
 (0)
0