23 Feb
2020
23 Feb
'20
6:10 a.m.
On Sun, Feb 23, 2020 at 05:01:22PM +1100, Steven D'Aprano wrote:
Why is that a f-string? It's a static message. That's kind of like writing `x += eval('1')`.
Oh, I just checked in 3.8 with `dis`, and static f-strings are compiled to a static string. Nice! -- Steven