From f35231a6f5c3534f3cbcac2b4dc3cf23fe91c824 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 28 Apr 2022 17:28:09 -0400 Subject: [PATCH] Correct bug in long literal replacement for 2.6-7 --- uncompyle6/scanners/scanner26.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/scanners/scanner26.py b/uncompyle6/scanners/scanner26.py index 32fd2386..e1317aa8 100755 --- a/uncompyle6/scanners/scanner26.py +++ b/uncompyle6/scanners/scanner26.py @@ -174,7 +174,7 @@ class Scanner26(scan.Scanner2): collection_type = op_name.split("_")[1] 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: tokens = next_tokens