summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorEric V. Smith <ericvsmith@users.noreply.github.com>2020-07-16 16:10:23 (GMT)
committerGitHub <noreply@github.com>2020-07-16 16:10:23 (GMT)
commit0275e0452a773976827c2b9bd1e598ee08e2d7f5 (patch)
tree3fbba0b95a8c8c374f3174b55be9d09f8c84cc0c /Parser
parent2ad7e9c011b7606c5c7307176df07419a0e60134 (diff)
downloadcpython-0275e0452a773976827c2b9bd1e598ee08e2d7f5.zip
cpython-0275e0452a773976827c2b9bd1e598ee08e2d7f5.tar.gz
cpython-0275e0452a773976827c2b9bd1e598ee08e2d7f5.tar.bz2
Fix trivial typo in the PEG string parser (GH-21508)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/string_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/string_parser.c b/Parser/string_parser.c
index 627879e..2c35da5 100644
--- a/Parser/string_parser.c
+++ b/Parser/string_parser.c
@@ -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] = '(';