diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-03 03:02:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 03:02:55 (GMT) |
commit | e798f698e51727d1e6596b4780e876e2b5db7528 (patch) | |
tree | e1582da95bf2f805a4f6bd013b8c888f70247405 /Lib/dis.py | |
parent | 376d53771d4c109876fd3d002fb8aa5e2c8dec89 (diff) | |
download | cpython-e798f698e51727d1e6596b4780e876e2b5db7528.zip cpython-e798f698e51727d1e6596b4780e876e2b5db7528.tar.gz cpython-e798f698e51727d1e6596b4780e876e2b5db7528.tar.bz2 |
gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)
(cherry picked from commit b013804134b07894205b06744628f6b25b879d85)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
Diffstat (limited to 'Lib/dis.py')
-rw-r--r-- | Lib/dis.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -592,7 +592,7 @@ def _unpack_opargs(code): caches = _inline_cache_entries[deop] if deop >= HAVE_ARGUMENT: arg = code[i+1] | extended_arg - extended_arg = (arg << 8) if op == EXTENDED_ARG else 0 + extended_arg = (arg << 8) if deop == EXTENDED_ARG else 0 # The oparg is stored as a signed integer # If the value exceeds its upper limit, it will overflow and wrap # to a negative integer |