Fixed refactoring bug in dd046963bd42 (issue27129).

This commit is contained in:
Serhiy Storchaka 2016-09-11 15:19:12 +03:00
parent 2a9f5edeeb
commit a1e9ab34a9
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
CONST_STACK_CREATE();
for (i=find_op(codestr, 0) ; i<codelen ; i=nexti) {
opcode = codestr[i];
opcode = _Py_OPCODE(codestr[i]);
op_start = i;
while (op_start >= 1 && _Py_OPCODE(codestr[op_start-1]) == EXTENDED_ARG) {
op_start--;