You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Merge branch 'master' into python-2.4
This commit is contained in:
@@ -42,6 +42,11 @@ class PythonParser(GenericASTBuilder):
|
||||
def __init__(self, SyntaxTree, start, debug):
|
||||
super(PythonParser, self).__init__(SyntaxTree, start, debug)
|
||||
# FIXME: customize per python parser version
|
||||
|
||||
# These are the non-terminals we should collect into a list.
|
||||
# For example instead of:
|
||||
# stmts -> stmts stmt -> stmts stmt stmt ...
|
||||
# collect as stmts -> stmt stmt ...
|
||||
nt_list = [
|
||||
'stmts', 'except_stmts', '_stmts', 'attributes',
|
||||
'exprlist', 'kvlist', 'kwargs', 'come_froms', '_come_froms',
|
||||
|
Reference in New Issue
Block a user