mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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 | ||