diff --git a/test/bytecode_3.2/11_mkfunc_closure.pyc b/test/bytecode_3.2/11_mkfunc_closure.pyc new file mode 100644 index 00000000..4565166a Binary files /dev/null and b/test/bytecode_3.2/11_mkfunc_closure.pyc differ diff --git a/uncompyle6/semantics/make_function.py b/uncompyle6/semantics/make_function.py index 7cfeadae..0391d368 100644 --- a/uncompyle6/semantics/make_function.py +++ b/uncompyle6/semantics/make_function.py @@ -590,7 +590,7 @@ def make_function3(self, node, is_lambda, nested=1, codeNode=None): for n in node: if n == 'pos_arg': continue - elif self.version >= 3.4 and not (n.kind in ('kwargs', 'kwarg')): + elif self.version >= 3.4 and not (n.kind in ('kwargs', 'kwargs1', 'kwarg')): continue else: self.preorder(n)