Skip to content

Commit ed8e0aa

Browse files
ericvsmithshihai1991
authored andcommitted
Fix trivial typo in the PEG string parser (pythonGH-21508)
1 parent 15f07e1 commit ed8e0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/string_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ fstring_compile_expr(Parser *p, const char *expr_start, const char *expr_end,
385385
return NULL;
386386
}
387387

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

0 commit comments

Comments
 (0)