You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add semantic action rule for except_return
This commit is contained in:
BIN
test/bytecode_3.6/06_try_return.pyc
Normal file
BIN
test/bytecode_3.6/06_try_return.pyc
Normal file
Binary file not shown.
@@ -420,6 +420,7 @@ def customize_for_version(self, is_pypy, version):
|
|||||||
'fstring_multi': ( "f'''%c'''", 0),
|
'fstring_multi': ( "f'''%c'''", 0),
|
||||||
'func_args36': ( "%c(**", 0),
|
'func_args36': ( "%c(**", 0),
|
||||||
'try_except36': ( '%|try:\n%+%c%-%c\n\n', 1, 2 ),
|
'try_except36': ( '%|try:\n%+%c%-%c\n\n', 1, 2 ),
|
||||||
|
'except_return': ( '%|except:\n%+%c%-', 3 ),
|
||||||
'unpack_list': ( '*%c', (0, 'list') ),
|
'unpack_list': ( '*%c', (0, 'list') ),
|
||||||
'call_ex' : (
|
'call_ex' : (
|
||||||
'%c(%p)',
|
'%c(%p)',
|
||||||
|
Reference in New Issue
Block a user