You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fix to the ADD_VALUE_x opcodes
This commit is contained in:
@@ -171,11 +171,11 @@ class Scanner(object):
|
||||
has_extended_arg=False,
|
||||
)
|
||||
)
|
||||
for j in range(collection_start, i):
|
||||
if tokens[j] == "LOAD_CONST":
|
||||
opname = "ADD_VALUE"
|
||||
else:
|
||||
opname = "ADD_VALUE_VAR"
|
||||
for j in range(collection_start, i):
|
||||
new_tokens.append(
|
||||
Token(
|
||||
opname=opname,
|
||||
|
Reference in New Issue
Block a user