mirror of
https://github.com/python/cpython
synced 2024-11-02 05:41:35 +00:00
f7b1e46156
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> |
||
---|---|---|
.. | ||
parse.c | ||
parse_string.c | ||
parse_string.h | ||
peg_api.c | ||
pegen.c | ||
pegen.h |