]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
parser_generator.py typo - keywods -> keywords (#135014)
authorchemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
Sat, 19 Jul 2025 08:54:20 +0000 (01:54 -0700)
committerGitHub <noreply@github.com>
Sat, 19 Jul 2025 08:54:20 +0000 (11:54 +0300)
Tools/peg_generator/pegen/parser_generator.py

index 52ae743c26b6b8328976d3fdeb81f50aaf8ec1b2..7dd56f98a652ccf85a82fc4fc004862cbb55aea5 100644 (file)
@@ -56,7 +56,7 @@ class RuleCollectorVisitor(GrammarVisitor):
 
 
 class KeywordCollectorVisitor(GrammarVisitor):
-    """Visitor that collects all the keywods and soft keywords in the Grammar"""
+    """Visitor that collects all the keywords and soft keywords in the Grammar"""
 
     def __init__(self, gen: "ParserGenerator", keywords: Dict[str, int], soft_keywords: Set[str]):
         self.generator = gen