We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d54d73 commit 72fcf31Copy full SHA for 72fcf31
1 file changed
src/bytecode/concrete.py
@@ -350,7 +350,7 @@ def from_code(
350
arg = bc[offset + 1] if opcode_has_argument(op := bc[offset]) else UNSET
351
pos = next(pos_iter, None)
352
loc: Optional[InstrLocation] = (
353
- InstrLocation(*pos) if pos is not None else None
+ InstrLocation._from_tuple(*pos) if pos is not None else None
354
)
355
instructions.append(ConcreteInstr(opname[op], arg, location=loc))
356
0 commit comments