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
Also in this same area of _toggle_fexpr_quotes being broken, playground link, formatting "" f'{1:""}' causes an "inequivalent to source code" error since it changes the :"" to :'', which is correct since it is observable if the thing being formatted has a custom __format__.
Describe the bug
Sorry for another cursed example.
Black changes the
"
in the second inner f-string expression to'
which changes the program output.Actual output
To Reproduce
Create a file with the above code and run with
--unstable
with a pre python 312 target.Or see this playground
Expected behavior
The text was updated successfully, but these errors were encountered: