mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-93691: fix too broad source locations of for statement iterators (#120330)
This commit is contained in:
parent
755dab719d
commit
97b69db167
6 changed files with 63 additions and 8 deletions
|
@ -49,6 +49,7 @@ class IsolatedCodeGenTests(CodegenTestCase):
|
|||
('GET_ITER', None, 1),
|
||||
loop_lbl := self.Label(),
|
||||
('FOR_ITER', exit_lbl := self.Label(), 1),
|
||||
('NOP', None, 1, 1),
|
||||
('STORE_NAME', 1, 1),
|
||||
('LOAD_NAME', 2, 2),
|
||||
('PUSH_NULL', None, 2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue