]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] parser_generator.py typo - keywods -> keywords (GH-135014) (#136772)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 19 Jul 2025 09:18:55 +0000 (11:18 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Jul 2025 09:18:55 +0000 (09:18 +0000)
Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
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