summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-06-13 02:47:44 (GMT)
committerGitHub <noreply@github.com>2021-06-13 02:47:44 (GMT)
commit17b16e13bb444001534ed6fccb459084596c8bcf (patch)
tree569101fcca308843dd1ff731dbd74682d7700f6f /Parser
parent736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff)
downloadcpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index be9b13e..ba93664 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -1187,12 +1187,12 @@ static int
verify_end_of_number(struct tok_state *tok, int c, const char *kind)
{
/* Emit a deprecation warning only if the numeric literal is immediately
- * followed by one of keywords which can occurr after a numeric literal
+ * followed by one of keywords which can occur after a numeric literal
* in valid code: "and", "else", "for", "if", "in", "is" and "or".
* It allows to gradually deprecate existing valid code without adding
* warning before error in most cases of invalid numeric literal (which
- * would be confusiong and break existing tests).
- * Raise a syntax error with slighly better message than plain
+ * would be confusing and break existing tests).
+ * Raise a syntax error with slightly better message than plain
* "invalid syntax" if the numeric literal is immediately followed by
* other keyword or identifier.
*/