You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Possble use of ','.join to remove "ends_in_comma"?
This commit is contained in:
@@ -759,6 +759,9 @@ def make_function3(self, node, is_lambda, nested=1, code_node=None):
|
||||
self.write("(", ", ".join(params))
|
||||
# self.println(indent, '#flags:\t', int(code.co_flags))
|
||||
|
||||
# FIXME: Could we remove ends_in_comma and its tests if we just
|
||||
# created a parameter list and at the very end did a join on that?
|
||||
# Unless careful, We might lose line breaks though.
|
||||
ends_in_comma = False
|
||||
if kwonlyargcount > 0:
|
||||
if no_paramnames:
|
||||
|
Reference in New Issue
Block a user