You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Grammar rule for 3.6 with .. return
This commit is contained in:
@@ -628,8 +628,8 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
assert tup == 'tuple'
|
||||
self.call36_tuple(tup)
|
||||
expr = node[2]
|
||||
assert expr == 'expr'
|
||||
if tup[0].attr > 0:
|
||||
if len(tup) > 0:
|
||||
# if tup[0].attr > 0:
|
||||
self.write(', ')
|
||||
self.write('**')
|
||||
self.preorder(expr)
|
||||
|
Reference in New Issue
Block a user