Fix trivial typo in the PEG string parser (GH-21508)
This commit is contained in:
parent
2ad7e9c011
commit
0275e0452a
|
@ -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] = '(';
|
||||
|
|
Loading…
Reference in New Issue