Skip to content

Commit 81aab6d

Browse files
[3.14] parser_generator.py typo - keywods -> keywords (GH-135014) (#136772)
Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
1 parent 201c765 commit 81aab6d

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)