summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorYang Hau <vulxj0j8j8@gmail.com>2023-12-01 09:37:40 (GMT)
committerGitHub <noreply@github.com>2023-12-01 09:37:40 (GMT)
commit707c37e373d7ea4e3f06b24c719fa45f70fbfa49 (patch)
tree1f3f61f0715561ef85d0782828c4bce0cd33b6d2 /Parser
parent467e3f94171f84221272011d40e4ee32fba47f73 (diff)
downloadcpython-707c37e373d7ea4e3f06b24c719fa45f70fbfa49.zip
cpython-707c37e373d7ea4e3f06b24c719fa45f70fbfa49.tar.gz
cpython-707c37e373d7ea4e3f06b24c719fa45f70fbfa49.tar.bz2
Fix typos in variable names, function names, and comments (GH-101868)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pegen_errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen_errors.c b/Parser/pegen_errors.c
index 20232f3..8a02aab 100644
--- a/Parser/pegen_errors.c
+++ b/Parser/pegen_errors.c
@@ -402,7 +402,7 @@ error:
void
_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
- // Existing sintax error
+ // Existing syntax error
if (PyErr_Occurred()) {
// Prioritize tokenizer errors to custom syntax errors raised
// on the second phase only if the errors come from the parser.