]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] parser_generator.py typo - keywods -> keywords (GH-135014) (#136773)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 19 Jul 2025 09:17:27 +0000 (11:17 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Jul 2025 09:17:27 +0000 (09:17 +0000)
Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
Tools/peg_generator/pegen/parser_generator.py

index ad28f6c27dcb37dfdf782a9bdfd0dd8a378c224a..a2f1c08330f713461fb103a49541bcbe3be4dac0 100644 (file)
@@ -55,7 +55,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