You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
tupples which contain only 1 element need a comma
This commit is contained in:
@@ -924,6 +924,8 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
sep += ' '
|
||||
pass
|
||||
pass
|
||||
if len(tup) == 1:
|
||||
self.write(", ")
|
||||
self.write(')')
|
||||
|
||||
def n_LOAD_CONST(self, node):
|
||||
|
Reference in New Issue
Block a user