https://github.com/python/cpython/commit/81aab6d51ccf49a7ec420eaead3f6fa900c57b53
commit: 81aab6d51ccf49a7ec420eaead3f6fa900c57b53
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-07-19T09:18:55Z
summary:

[3.14] parser_generator.py typo - keywods -> keywords (GH-135014) (#136772)

Co-authored-by: chemelnucfin <[email protected]>

files:
M Tools/peg_generator/pegen/parser_generator.py

diff --git a/Tools/peg_generator/pegen/parser_generator.py 
b/Tools/peg_generator/pegen/parser_generator.py
index 52ae743c26b6b8..7dd56f98a652cc 100644
--- a/Tools/peg_generator/pegen/parser_generator.py
+++ b/Tools/peg_generator/pegen/parser_generator.py
@@ -56,7 +56,7 @@ def visit_NamedItem(self, item: NamedItem) -> None:
 
 
 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to