mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
[3.14] gh-138257: Fix internal RuleCollectorVisitor attribute name (GH-138208) (#138259)
Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
This commit is contained in:
parent
b79becefb6
commit
5ec6d56405
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class RuleCollectorVisitor(GrammarVisitor):
|
|||
"""Visitor that invokes a provided callmaker visitor with just the NamedItem nodes"""
|
||||
|
||||
def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
|
||||
self.rulses = rules
|
||||
self.rules = rules
|
||||
self.callmaker = callmakervisitor
|
||||
|
||||
def visit_Rule(self, rule: Rule) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue