summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-05-26 10:33:45 (GMT)
committerGitHub <noreply@github.com>2023-05-26 10:33:45 (GMT)
commitb31cfd276ee48b51220e6dbdc8bb9d66c5c7679d (patch)
tree2e1d677c6a44d42d01bc4b62f68cc14b1eaa65cf /Parser/tokenizer.h
parent6324458bef67c597b4278fff829b7a20cb32b64a (diff)
downloadcpython-b31cfd276ee48b51220e6dbdc8bb9d66c5c7679d.zip
cpython-b31cfd276ee48b51220e6dbdc8bb9d66c5c7679d.tar.gz
cpython-b31cfd276ee48b51220e6dbdc8bb9d66c5c7679d.tar.bz2
[3.12] Fix typo in the tokenizer (GH-104950) (#104953)
(cherry picked from commit 705e387dd81b971cb1ee5727da54adfb565f61d0) Co-authored-by: Stepfen Shawn <m18824909883@163.com>
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r--Parser/tokenizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h
index 3f34763..019f533 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 */