From 9d8b8c3ed2c672e0f0d5248a86972c6788f0701d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 16 Jul 2020 09:30:19 -0700 Subject: [PATCH] Fix trivial typo in the PEG string parser (GH-21508) (cherry picked from commit 0275e0452a773976827c2b9bd1e598ee08e2d7f5) Co-authored-by: Eric V. Smith --- Parser/pegen/parse_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/pegen/parse_string.c b/Parser/pegen/parse_string.c index d762e653f953..7b02bdde645e 100644 --- a/Parser/pegen/parse_string.c +++ b/Parser/pegen/parse_string.c @@ -390,7 +390,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] = '('; -- 2.47.3