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 gvanrossum
Recipients docs@python, eric.smith, ezio.melotti, gvanrossum
Date 2020-07-27.16:53:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595868788.34.0.223276311268.issue41411@roundup.psfhosted.org>
In-reply-to
Content
It's basically an accident that the only f-strings docs are in the language reference. Yes, they should be there, and the text there is pretty good *for the reference*, but there isn't much about them elsewhere outside of the tutorial, so everything links there. Maybe we need a section on them in the library part, of intermediate complexity between what's in the tutorial an what's in the reference. This could be on equal footing with the descriptions of % formatting and .format(), which seem to be quite extensive. We might also be able to share some text between .format() and f-strings, since the `!x` and `:...` parts are treated identically AFAICT. This would be another refactoring of some part of the docs.
History
Date User Action Args
2020-07-27 16:53:08gvanrossumsetrecipients: + gvanrossum, eric.smith, ezio.melotti, docs@python
2020-07-27 16:53:08gvanrossumsetmessageid: <1595868788.34.0.223276311268.issue41411@roundup.psfhosted.org>
2020-07-27 16:53:08gvanrossumlinkissue41411 messages
2020-07-27 16:53:08gvanrossumcreate