]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Fix typo in the tokenizer (GH-104950) (#104953)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 26 May 2023 10:33:45 +0000 (03:33 -0700)
committerGitHub <noreply@github.com>
Fri, 26 May 2023 10:33:45 +0000 (12:33 +0200)
(cherry picked from commit 705e387dd81b971cb1ee5727da54adfb565f61d0)

Co-authored-by: Stepfen Shawn <m18824909883@163.com>
Parser/tokenizer.h

index 3f34763239acdaa075db09d12a34c1c259f62ff3..019f533ef2a2601671ecd96f82ef72110e9534fb 100644 (file)
@@ -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 */