Skip to content

Commit f520f22

Browse files
authored
parser_generator.py typo - keywods -> keywords (#135014)
1 parent 09ac8e0 commit f520f22

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
@@ -56,7 +56,7 @@ def visit_NamedItem(self, item: NamedItem) -> None:
5656

5757

5858
class KeywordCollectorVisitor(GrammarVisitor):
59-
"""Visitor that collects all the keywods and soft keywords in the Grammar"""
59+
"""Visitor that collects all the keywords and soft keywords in the Grammar"""
6060

6161
def __init__(self, gen: "ParserGenerator", keywords: Dict[str, int], soft_keywords: Set[str]):
6262
self.generator = gen

0 commit comments

Comments
 (0)