summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-06-28 02:41:48 +0300
committerGitHub <noreply@github.com>2020-06-28 00:41:48 +0100
commit1f0f4abb110b9fbade6175842b6a26ab0b8df6dd (patch)
treef967a28bdffe1656593c04ae0634e7cc6b3bf566 /Python/compile.c
parent89e82c4a6285c89c054980591c078245a5cc6337 (diff)
downloadcpython-git-1f0f4abb110b9fbade6175842b6a26ab0b8df6dd.tar.gz
bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054)
This commit changes the parsing of f-string expressions with the new parser. The parser gets pre-fed with the location of the expression itself (not the f-string, which was what we were doing before). This allows us to completely skip the shifting of the AST nodes after the parsing is completed.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions