Skip to content

Commit d0f4746

Browse files
committed
Fix copy/paste error.
1 parent c5ad049 commit d0f4746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/peephole.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
338338
h = fold_tuple_on_constants(codestr, codelen,
339339
h, i+is_tuple, consts, j);
340340
if (!is_tuple && h >= 0) {
341-
codestr[op_start] = PACKOPARG(BUILD_LIST_UNPACK, 1);
341+
codestr[i] = PACKOPARG(BUILD_LIST_UNPACK, 1);
342342
}
343343
break;
344344
}

0 commit comments

Comments
 (0)