F-string formatting: Invalid syntax for format-spec with double quotes when targeting pre Python 3.12
Closed this issue · 0 comments
MichaReiser commented
f'{x:a{y=:{z:hy "user"}}} \'\'\''
Gets formatted to
f"{x:a{y=:{z:hy "user"}}} '''"
when preview mode is enabled and targeting a version < Python 3.12
This is related to #14493