We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 941d705 commit 759bd6bCopy full SHA for 759bd6b
Lib/dis.py
@@ -592,7 +592,7 @@ def _unpack_opargs(code):
592
caches = _inline_cache_entries[deop]
593
if deop >= HAVE_ARGUMENT:
594
arg = code[i+1] | extended_arg
595
- extended_arg = (arg << 8) if op == EXTENDED_ARG else 0
+ extended_arg = (arg << 8) if EXTENDED_ARG in (op, deop) else 0
596
# The oparg is stored as a signed integer
597
# If the value exceeds its upper limit, it will overflow and wrap
598
# to a negative integer
0 commit comments