Skip to content

Commit 5ec6d56

Browse files
[3.14] pythongh-138257: Fix internal RuleCollectorVisitor attribute name (pythonGH-138208) (python#138259)
Co-authored-by: chemelnucfin <[email protected]>
1 parent b79bece commit 5ec6d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/peg_generator/pegen/parser_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class RuleCollectorVisitor(GrammarVisitor):
4545
"""Visitor that invokes a provided callmaker visitor with just the NamedItem nodes"""
4646

4747
def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
48-
self.rulses = rules
48+
self.rules = rules
4949
self.callmaker = callmakervisitor
5050

5151
def visit_Rule(self, rule: Rule) -> None:

0 commit comments

Comments
 (0)