]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix trivial typo in the PEG string parser (GH-21508)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Thu, 16 Jul 2020 16:10:23 +0000 (12:10 -0400)
committerGitHub <noreply@github.com>
Thu, 16 Jul 2020 16:10:23 +0000 (17:10 +0100)
Parser/string_parser.c

index 627879e8179e45ab9b76dd4944faa296af0681d6..2c35da590defbbc47df152be00b769999f32b00f 100644 (file)
@@ -385,7 +385,7 @@ fstring_compile_expr(Parser *p, const char *expr_start, const char *expr_end,
         return NULL;
     }
 
-    // The parentheses are needed in order to allow for leading whitespace withing
+    // The parentheses are needed in order to allow for leading whitespace within
     // the f-string expression. This consequently gets parsed as a group (see the
     // group rule in python.gram).
     str[0] = '(';