https://github.com/python/cpython/commit/f520f229271d55201a090f48faf1aa6f087d7608
commit: f520f229271d55201a090f48faf1aa6f087d7608
branch: main
author: chemelnucfin <[email protected]>
committer: hugovk <[email protected]>
date: 2025-07-19T11:54:20+03:00
summary:
parser_generator.py typo - keywods -> keywords (#135014)
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]