You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Fix last-minute bug due to kwargs->kwargs1
This commit is contained in:
BIN
test/bytecode_3.2/11_mkfunc_closure.pyc
Normal file
BIN
test/bytecode_3.2/11_mkfunc_closure.pyc
Normal file
Binary file not shown.
@@ -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)
|
||||
|
Reference in New Issue
Block a user