summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-10-05 21:06:19 (GMT)
committerGitHub <noreply@github.com>2021-10-05 21:06:19 (GMT)
commit48fadb1f19f75fcaacb7d523dcc9e05b97dcce74 (patch)
tree68c61b97b7e0dd0b3187ff2fe69658b14fbeb0b8
parent08285d563e64c179a56ab2f952345b3dbcdb54f3 (diff)
downloadcpython-48fadb1f19f75fcaacb7d523dcc9e05b97dcce74.zip
cpython-48fadb1f19f75fcaacb7d523dcc9e05b97dcce74.tar.gz
cpython-48fadb1f19f75fcaacb7d523dcc9e05b97dcce74.tar.bz2
[Tools/peg_generator/pegen/parser.py] Fix typo: s/wether/whether/ (GH-28739)
-rw-r--r--Tools/peg_generator/pegen/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/peg_generator/pegen/parser.py b/Tools/peg_generator/pegen/parser.py
index 4ce60e3..034e8e6 100644
--- a/Tools/peg_generator/pegen/parser.py
+++ b/Tools/peg_generator/pegen/parser.py
@@ -168,7 +168,7 @@ class Parser:
self._verbose = verbose
self._level = 0
self._cache: Dict[Tuple[Mark, str, Tuple[Any, ...]], Tuple[Any, Mark]] = {}
- # Integer tracking wether we are in a left recursive rule or not. Can be useful
+ # Integer tracking whether we are in a left recursive rule or not. Can be useful
# for error reporting.
self.in_recursive_rule = 0
# Pass through common tokenizer methods.