Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

f-strings are defined and used at the same place, as any other expression. You 
can not save an f-string to a variable, as you can not save a multiplication. 
But you can save a string which is a result of the f-string evaluation.

Perhaps you were fooled by the name of f-strings. It looks as a special kind of 
strings, but actually it is a kind of expressions, like addition or 
multiplication.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36798>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to