F-strings docs: link to Format Specifiers by Mariatta · Pull Request #4888 · python/cpython (original) (raw)
Are f-strings only documented in the lexical analysis part of the language reference? I"m not sure newbies will find that.
They should probably be mentioned here:
https://docs.python.org/3/library/stdtypes.html?highlight=string%20literal#text-sequence-type-str
I do see a link to the string literal page of lexical analysis there, so if it's at least mentioned, that may do it.
maybe:
"""
See :refString and Bytes literals <proper ref here>
for more about the various forms of string literal, including supported escape sequences, the r (“raw”) prefix that disables most escape sequence processing, and the f (f-string) prefix that provides :ref:formatted string literals <ref_to_formatted_sring_literals_section>
.