You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dfbde8c
Browse filesBrowse the repository at this point in the historyBrowse files
Literal parts of f-strings and t-strings are decoded only after the
whole string has been parsed, so a decode error took the location of
the last token. The resulting SyntaxError pointed at the closing quote,
and for multi-line strings it could be on the wrong line.
Raise the error at the literal part being decoded instead.
(cherry picked from commit 2258026)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
0 commit comments