You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Correct bug in long literal replacement for 2.6-7
This commit is contained in:
@@ -174,7 +174,7 @@ class Scanner26(scan.Scanner2):
|
|||||||
|
|
||||||
collection_type = op_name.split("_")[1]
|
collection_type = op_name.split("_")[1]
|
||||||
next_tokens = self.bound_collection_from_tokens(
|
next_tokens = self.bound_collection_from_tokens(
|
||||||
tokens, t, i, "CONST_%s" % collection_type
|
tokens, t, len(tokens), "CONST_%s" % collection_type
|
||||||
)
|
)
|
||||||
if next_tokens is not None:
|
if next_tokens is not None:
|
||||||
tokens = next_tokens
|
tokens = next_tokens
|
||||||
|
Reference in New Issue
Block a user