diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-11-09 20:07:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 20:07:38 (GMT) |
commit | cb414cf0e207668300c4fe3f310c0bd249153273 (patch) | |
tree | f39a98f3ec3e7e7b8ebd3c27c9ed8cdbc88ae261 /Lib/dis.py | |
parent | bcc4e46832010469bb35a97c1d1e962a82ee7fd9 (diff) | |
download | cpython-cb414cf0e207668300c4fe3f310c0bd249153273.zip cpython-cb414cf0e207668300c4fe3f310c0bd249153273.tar.gz cpython-cb414cf0e207668300c4fe3f310c0bd249153273.tar.bz2 |
bpo-45757: Fix bug where dis produced an incorrect oparg on EXTENDED_ARG before a no-arg opcode (GH-29480)
Diffstat (limited to 'Lib/dis.py')
-rw-r--r-- | Lib/dis.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -523,6 +523,7 @@ def _unpack_opargs(code): extended_arg = (arg << 8) if op == EXTENDED_ARG else 0 else: arg = None + extended_arg = 0 yield (i, op, arg) def findlabels(code): |