mirror of
https://github.com/python/cpython.git
synced 2025-08-26 11:45:20 +00:00
[3.11] gh-94485: Set line number of module's RESUME instruction to 0 as specified by PEP 626 (GH-94552) (GH-94562)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Mark Shannon <mark@hotpy.org>
(cherry picked from commit 324d01944d
)
This commit is contained in:
parent
0615e7f9bb
commit
1bfe83a114
7 changed files with 32 additions and 25 deletions
|
@ -376,7 +376,6 @@ class CodeTest(unittest.TestCase):
|
|||
for instruction in artificial_instructions
|
||||
],
|
||||
[
|
||||
('RESUME', 0),
|
||||
("PUSH_EXC_INFO", None),
|
||||
("LOAD_CONST", None), # artificial 'None'
|
||||
("STORE_NAME", "e"), # XX: we know the location for this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue