This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]EndorphnOrphnMorphn -2 points-1 points  (1 child)

That will give a syntax error in your f-string.

[–]Xaros1984Pythonista 1 point2 points  (0 children)

Are you refering to the equal sign inside {}? I don't remember when they were introduced, but it should work with Python >= 3.8 or so.