You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
LOAD_ASSERT can also be an expr
This may have the undesirable property that assert statements might get tagged with equivalant low-level Python code that uses "raise AssertionError", but so be it. Fixes #103
This commit is contained in:
@@ -442,6 +442,7 @@ class PythonParser(GenericASTBuilder):
|
||||
def p_expr(self, args):
|
||||
'''
|
||||
expr ::= _mklambda
|
||||
expr ::= LOAD_ASSERT
|
||||
expr ::= LOAD_FAST
|
||||
expr ::= LOAD_NAME
|
||||
expr ::= LOAD_CONST
|
||||
|
Reference in New Issue
Block a user