diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-05-26 00:32:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 00:32:18 (GMT) |
commit | f7b1e461567e5e3fa3ba46f589d9edc1b45b2dd0 (patch) | |
tree | ae35c88616222dd863201ea8549ac09c30d9b407 /Makefile.pre.in | |
parent | 2602d97a0ae92b2d320909024e901c202b003e14 (diff) | |
download | cpython-f7b1e461567e5e3fa3ba46f589d9edc1b45b2dd0.zip cpython-f7b1e461567e5e3fa3ba46f589d9edc1b45b2dd0.tar.gz cpython-f7b1e461567e5e3fa3ba46f589d9edc1b45b2dd0.tar.bz2 |
bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399)
When a `SyntaxError` in the expression part of a fstring is found,
the filename attribute of the `SyntaxError` is always `<fstring>`.
With this commit, it gets changed to always have the name of the file
the fstring resides in.
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Makefile.pre.in')
0 files changed, 0 insertions, 0 deletions