Skip to content

Commit a3f7efb

Browse files
chemelnucfinAgent-Hellboy
authored andcommitted
parser_generator.py typo - keywods -> keywords (python#135014)
1 parent 2568b09 commit a3f7efb

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)