mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-105191: Cleanup peg generator; keep only necessary files (#105197)
This commit is contained in:
parent
c67121ac6b
commit
a241003d04
20 changed files with 60 additions and 16832 deletions
|
@ -29,7 +29,6 @@ class ASTGrammarPrinter:
|
|||
printer(self.print_nodes_recursively(rule))
|
||||
|
||||
def print_nodes_recursively(self, node: Rule, prefix: str = "", istail: bool = True) -> str:
|
||||
|
||||
children = list(self.children(node))
|
||||
value = self.name(node)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue