diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-16 16:30:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 16:30:19 (GMT) |
commit | 9d8b8c3ed2c672e0f0d5248a86972c6788f0701d (patch) | |
tree | 2a2aca8bc2dca7ceeb28da82db7dd7d226309ccc /Parser | |
parent | 961703cdc82536b6ff897ad7d4b3bbf22718d1b5 (diff) | |
download | cpython-9d8b8c3ed2c672e0f0d5248a86972c6788f0701d.zip cpython-9d8b8c3ed2c672e0f0d5248a86972c6788f0701d.tar.gz cpython-9d8b8c3ed2c672e0f0d5248a86972c6788f0701d.tar.bz2 |
Fix trivial typo in the PEG string parser (GH-21508)
(cherry picked from commit 0275e0452a773976827c2b9bd1e598ee08e2d7f5)
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/pegen/parse_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen/parse_string.c b/Parser/pegen/parse_string.c index d762e65..7b02bdd 100644 --- a/Parser/pegen/parse_string.c +++ b/Parser/pegen/parse_string.c @@ -390,7 +390,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] = '('; |