From 021810bb2cf9a9d3cc843e262b28e45a380c6b56 Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 14 May 2022 16:54:50 -0400 Subject: [PATCH] Correct 2.x formatting "slice2" nonterminal --- uncompyle6/semantics/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/semantics/consts.py b/uncompyle6/semantics/consts.py index d711b7da..d094febf 100644 --- a/uncompyle6/semantics/consts.py +++ b/uncompyle6/semantics/consts.py @@ -256,7 +256,7 @@ TABLE_DIRECT = { (1, NO_PARENTHESIS_EVER) ), - "slice2": ( "[%c:%p]", + "slice2": ( "%c[:%p]", (0, "expr"), (1, NO_PARENTHESIS_EVER) ),