Fix trivial typo in the PEG string parser (GH-21508)

This commit is contained in:
Eric V. Smith 2020-07-16 12:10:23 -04:00 committed by GitHub
parent 2ad7e9c011
commit 0275e0452a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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] = '(';