You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Fix bug in return-optimized try stmt
This commit is contained in:
@@ -418,6 +418,11 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
# 'unmapexpr': ( '{**%c}', 0), # done by n_unmapexpr
|
||||
|
||||
})
|
||||
if version >= 3.6:
|
||||
TABLE_DIRECT.update({
|
||||
'trystmt36': ( '%|try:\n%+%c%-%c\n\n', 1, 2 ),
|
||||
})
|
||||
|
||||
def n_async_call_function(node):
|
||||
self.f.write('async ')
|
||||
node.kind == 'call_function'
|
||||
|
Reference in New Issue
Block a user