You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Pevious commit grammar change is Python 3.5 and up
This commit is contained in:
BIN
test/bytecode_3.5/15_for_if.pyc
Normal file
BIN
test/bytecode_3.5/15_for_if.pyc
Normal file
Binary file not shown.
@@ -274,6 +274,8 @@ class Python3Parser(PythonParser):
|
|||||||
|
|
||||||
_ifstmts_jump ::= return_if_stmts
|
_ifstmts_jump ::= return_if_stmts
|
||||||
_ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from _come_from
|
_ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from _come_from
|
||||||
|
|
||||||
|
# FIXME: this optimization is only used in Python 3.5 and beyond
|
||||||
_ifstmts_jump ::= c_stmts_opt
|
_ifstmts_jump ::= c_stmts_opt
|
||||||
|
|
||||||
iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE
|
iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE
|
||||||
|
Reference in New Issue
Block a user