[Python-checkins] [3.12] Fix typo in the tokenizer (GH-104950) (#104953)
lysnikolaou
webhook-mailer at python.org
Fri May 26 06:34:13 EDT 2023
https://github.com/python/cpython/commit/b31cfd276ee48b51220e6dbdc8bb9d66c5c7679d
commit: b31cfd276ee48b51220e6dbdc8bb9d66c5c7679d
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: lysnikolaou <lisandrosnik at gmail.com>
date: 2023-05-26T12:33:45+02:00
summary:
[3.12] Fix typo in the tokenizer (GH-104950) (#104953)
(cherry picked from commit 705e387dd81b971cb1ee5727da54adfb565f61d0)
Co-authored-by: Stepfen Shawn <m18824909883 at 163.com>
files:
M Parser/tokenizer.h
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h
index 3f34763239ac..019f533ef2a2 100644
--- a/Parser/tokenizer.h
+++ b/Parser/tokenizer.h
@@ -21,7 +21,7 @@ enum decoding_state {
};
enum interactive_underflow_t {
- /* Normal mode of operation: return a new token when asked in interactie mode */
+ /* Normal mode of operation: return a new token when asked in interactive mode */
IUNDERFLOW_NORMAL,
/* Forcefully return ENDMARKER when asked for a new token in interactive mode. This
* can be used to prevent the tokenizer to prompt the user for new tokens */
More information about the Python-checkins
mailing list