You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
del_stmt -> delete to match Python AST better
This commit is contained in:
@@ -113,10 +113,10 @@ class Python37Parser(Python37BaseParser):
|
||||
stmt ::= tryelsestmt
|
||||
stmt ::= tryfinallystmt
|
||||
|
||||
stmt ::= del_stmt
|
||||
del_stmt ::= DELETE_FAST
|
||||
del_stmt ::= DELETE_NAME
|
||||
del_stmt ::= DELETE_GLOBAL
|
||||
stmt ::= delete
|
||||
delete ::= DELETE_FAST
|
||||
delete ::= DELETE_NAME
|
||||
delete ::= DELETE_GLOBAL
|
||||
|
||||
stmt ::= return
|
||||
return ::= ret_expr RETURN_VALUE
|
||||
@@ -889,7 +889,7 @@ class Python37Parser(Python37BaseParser):
|
||||
END_FINALLY _jump
|
||||
|
||||
except_var_finalize ::= POP_BLOCK POP_EXCEPT LOAD_CONST COME_FROM_FINALLY
|
||||
LOAD_CONST store del_stmt
|
||||
LOAD_CONST store delete
|
||||
|
||||
except_suite ::= returns
|
||||
|
||||
|
Reference in New Issue
Block a user