17 Sep
2020
17 Sep
'20
11:05 p.m.
On Fri, Sep 18, 2020 at 9:00 AM Steven D'Aprano
On Thu, Sep 17, 2020 at 06:06:39PM +0200, Alexis Masson wrote:
I do really like the idea, but assigning to a literal really makes it feel wrong...
f-strings are not literals. They are a form of eval().
Oh, that makes 'em sound way too scary :) They're more akin to a list display - a syntactic structure that yields a well-defined object, and has expressions inside it. ChrisA