mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix trivial typo in the PEG string parser (GH-21508)
This commit is contained in:
parent
2ad7e9c011
commit
0275e0452a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue