You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
conditional -> if_exp ...
to match Python IfExp AST
This commit is contained in:
@@ -49,7 +49,7 @@ class Python23Parser(Python24Parser):
|
||||
and2 ::= _jump jmp_false COME_FROM expr COME_FROM
|
||||
|
||||
alias ::= IMPORT_NAME attributes store
|
||||
conditional ::= expr jmp_false expr JUMP_FORWARD expr COME_FROM
|
||||
if_exp ::= expr jmp_false expr JUMP_FORWARD expr COME_FROM
|
||||
'''
|
||||
|
||||
def customize_grammar_rules(self, tokens, customize):
|
||||
|
Reference in New Issue
Block a user