From 6e19e922f8bdbe13f578dc65fd0f3f7afa2012a3 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 30 Nov 2017 10:41:50 -0500 Subject: [PATCH] Last commit introduced a bug --- uncompyle6/parsers/parse3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/parsers/parse3.py b/uncompyle6/parsers/parse3.py index af68ff14..94e7e1d3 100644 --- a/uncompyle6/parsers/parse3.py +++ b/uncompyle6/parsers/parse3.py @@ -800,7 +800,7 @@ class Python3Parser(PythonParser): self.add_make_function_rule(rule_pat, opname, token.attr, customize) # listcomp is a custom Python3 rule elif opname == 'LOAD_LISTCOMP': - self.add_unique_rule("expr ::= set_listcomp", opname, token.attr, customize) + self.add_unique_rule("expr ::= listcomp", opname, token.attr, customize) elif opname == 'LOAD_SETCOMP': # Should this be generalized and put under MAKE_FUNCTION? if has_get_iter_call_function1: