diff --git a/test/bytecode_3.2/05_closure_bug.pyc b/test/bytecode_3.2/05_closure_bug.pyc new file mode 100644 index 00000000..d5440b5a Binary files /dev/null and b/test/bytecode_3.2/05_closure_bug.pyc differ diff --git a/uncompyle6/parsers/parse3.py b/uncompyle6/parsers/parse3.py index 6c52a7df..8912400e 100644 --- a/uncompyle6/parsers/parse3.py +++ b/uncompyle6/parsers/parse3.py @@ -380,7 +380,7 @@ class Python3Parser(PythonParser): @staticmethod def call_fn_name(token): """Customize CALL_FUNCTION to add the number of positional arguments""" - return 'CALL_FUNCTION_%i' % token.attr + return '%s_%i' % (token.type, token.attr) def custom_build_class_rule(self, opname, i, token, tokens, customize): '''