News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by perrygeo on Tuesday February 09, 2021 @08:33PM (#26084842)
Yes, f-strings are now the obvious way to format strings _if_ the template is fixed (not variable at runtime) _and_ variables are defined in the current scope. There are many many cases where this does not apply: hence str.format is still required.

There are no comments on this comment yet.