You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fix a bug in 3.6+ keyword-only argument passing
This commit is contained in:
@@ -188,7 +188,7 @@ def customize_for_version36(self, version):
|
||||
self.write(', ')
|
||||
|
||||
kwargs = node[2]
|
||||
if kwargs == 'expr':
|
||||
if kwargs == 'expr' and kwargs[0] != "dict":
|
||||
kwargs = kwargs[0]
|
||||
if kwargs == 'dict':
|
||||
self.call36_dict(kwargs)
|
||||
|
Reference in New Issue
Block a user