You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
More grammar isolation. narrow custom rules...
Specifically: _mklambda with load_closure is Python2 only Add classdefdeco2 rule only when we have seen a LOAD_BUILD_CLASS
This commit is contained in:
@@ -103,7 +103,8 @@ class Python2Parser(PythonParser):
|
||||
delete_subscr ::= expr expr DELETE_SUBSCR
|
||||
del_stmt ::= expr DELETE_ATTR
|
||||
|
||||
kwarg ::= LOAD_CONST expr
|
||||
_mklambda ::= load_closure mklambda
|
||||
kwarg ::= LOAD_CONST expr
|
||||
|
||||
classdef ::= buildclass designator
|
||||
|
||||
|
Reference in New Issue
Block a user