]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Fix typo in the tokenizer (GH-104950) (#104952)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 26 May 2023 06:32:04 +0000 (23:32 -0700)
committerGitHub <noreply@github.com>
Fri, 26 May 2023 06:32:04 +0000 (23:32 -0700)
(cherry picked from commit 705e387dd81b971cb1ee5727da54adfb565f61d0)

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

index d9a5f457d9c501f097abd61b019ae67fa20c9e4a..0593d773e55e06c0ac35f4ef91e5c829441740e3 100644 (file)
@@ -20,7 +20,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 */