You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fixes in 3.5+ lambdas break 3.3-. Deal with later.
This commit is contained in:
@@ -860,7 +860,12 @@ def make_function3(self, node, is_lambda, nested=1, code_node=None):
|
||||
|
||||
for i, flag in enumerate(other_kw):
|
||||
if flag:
|
||||
kw_args[i] = "%s" % kwargs[i]
|
||||
if i < len(kwargs):
|
||||
kw_args[i] = "%s" % kwargs[i]
|
||||
else:
|
||||
del kw_args[i]
|
||||
pass
|
||||
|
||||
self.write(", ".join(kw_args))
|
||||
ends_in_comma = False
|
||||
pass
|
||||
|
Reference in New Issue
Block a user