You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +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 += ' '
|
sep += ' '
|
||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
|
if len(tup) == 1:
|
||||||
|
self.write(", ")
|
||||||
self.write(')')
|
self.write(')')
|
||||||
|
|
||||||
def n_LOAD_CONST(self, node):
|
def n_LOAD_CONST(self, node):
|
||||||
|
Reference in New Issue
Block a user