Skip to content

Commit c62926a

Browse files
ericvsmithmiss-islington
authored andcommitted
Fix trivial typo in the PEG string parser (pythonGH-21508)
(cherry picked from commit 0275e04) Co-authored-by: Eric V. Smith <[email protected]>
1 parent 961703c commit c62926a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/pegen/parse_string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ fstring_compile_expr(Parser *p, const char *expr_start, const char *expr_end,
390390
return NULL;
391391
}
392392

393-
// The parentheses are needed in order to allow for leading whitespace withing
393+
// The parentheses are needed in order to allow for leading whitespace within
394394
// the f-string expression. This consequently gets parsed as a group (see the
395395
// group rule in python.gram).
396396
str[0] = '(';

0 commit comments

Comments
 (0)