Skip to content

Commit 72fcf31

Browse files
committed
use faster _from_tuple
1 parent 2d54d73 commit 72fcf31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bytecode/concrete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def from_code(
350350
arg = bc[offset + 1] if opcode_has_argument(op := bc[offset]) else UNSET
351351
pos = next(pos_iter, None)
352352
loc: Optional[InstrLocation] = (
353-
InstrLocation(*pos) if pos is not None else None
353+
InstrLocation._from_tuple(*pos) if pos is not None else None
354354
)
355355
instructions.append(ConcreteInstr(opname[op], arg, location=loc))
356356

0 commit comments

Comments
 (0)