You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
add_custom_rules -> customize_grammar_rules
This commit is contained in:
@@ -551,7 +551,7 @@ class PythonParser(GenericASTBuilder):
|
||||
|
||||
|
||||
def parse(p, tokens, customize):
|
||||
p.add_custom_rules(tokens, customize)
|
||||
p.customize_grammar_rules(tokens, customize)
|
||||
ast = p.parse(tokens)
|
||||
# p.cleanup()
|
||||
return ast
|
||||
|
Reference in New Issue
Block a user