You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +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):
|
for i, flag in enumerate(other_kw):
|
||||||
if flag:
|
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))
|
self.write(", ".join(kw_args))
|
||||||
ends_in_comma = False
|
ends_in_comma = False
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user