You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Add 3.0 gen_comp_body rule.
This commit is contained in:
@@ -119,8 +119,9 @@ class Python30Parser(Python31Parser):
|
||||
call_stmt ::= expr COME_FROM
|
||||
_ifstmts_jump30 ::= c_stmts POP_TOP
|
||||
|
||||
################################################################################
|
||||
gen_comp_body ::= expr YIELD_VALUE COME_FROM POP_TOP
|
||||
|
||||
################################################################################
|
||||
for_block ::= l_stmts_opt _come_froms POP_TOP JUMP_BACK
|
||||
|
||||
except_handler ::= JUMP_FORWARD COME_FROM_EXCEPT except_stmts
|
||||
|
Reference in New Issue
Block a user