mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
gh-94485: Set line number of module's RESUME instruction to 0, as specified by PEP 626 (GH-94552)
Co-authored-by: Mark Shannon <mark@hotpy.org>
This commit is contained in:
parent
a2a3f2c541
commit
324d01944d
7 changed files with 33 additions and 26 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