This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients SilentGhost, barry, emilyemorehouse, eric.smith, larry, lukasz.langa, serhiy.storchaka, xtreak
Date 2019-05-05.16:51:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557075078.42.0.884108429042.issue36798@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-05 16:51:18serhiy.storchakasetrecipients: + serhiy.storchaka, barry, larry, eric.smith, SilentGhost, lukasz.langa, emilyemorehouse, xtreak
2019-05-05 16:51:18serhiy.storchakasetmessageid: <1557075078.42.0.884108429042.issue36798@roundup.psfhosted.org>
2019-05-05 16:51:18serhiy.storchakalinkissue36798 messages
2019-05-05 16:51:18serhiy.storchakacreate