diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-11 12:19:12 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-11 12:19:12 (GMT) |
commit | a1e9ab34a9cfe335af1b34287cdda6743c53487d (patch) | |
tree | 57cd4d4b29ab3db36d5cd1cf8df5e474973f7164 /Python/peephole.c | |
parent | 2a9f5edeebed148e0ff6a2524f5b0b177f0d41b9 (diff) | |
download | cpython-a1e9ab34a9cfe335af1b34287cdda6743c53487d.zip cpython-a1e9ab34a9cfe335af1b34287cdda6743c53487d.tar.gz cpython-a1e9ab34a9cfe335af1b34287cdda6743c53487d.tar.bz2 |
Fixed refactoring bug in dd046963bd42 (issue27129).
Diffstat (limited to 'Python/peephole.c')
-rw-r--r-- | Python/peephole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/peephole.c b/Python/peephole.c index 68e36f7..84eb2db 100644 --- a/Python/peephole.c +++ b/Python/peephole.c @@ -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--; |