From: Mariatta Date: Fri, 15 Dec 2017 18:07:01 +0000 (-0800) Subject: F-strings docs: link to Format Specifiers (GH-4888) X-Git-Tag: v3.7.0a4~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d924fa523df766dbf2f8b6a28ae502eb3433bfe5;p=python F-strings docs: link to Format Specifiers (GH-4888) Link to the Format Specification Mini Language section from f-strings' documentation. --- diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index ee3fbc13e2..86e55e4d9c 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -656,7 +656,8 @@ the final value of the whole string. Top-level format specifiers may include nested replacement fields. These nested fields may include their own conversion fields and -format specifiers, but may not include more deeply-nested replacement fields. +:ref:`format specifiers `, but may not include more +deeply-nested replacement fields. Formatted string literals may be concatenated, but replacement fields cannot be split across literals.