From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 15 Dec 2017 18:11:17 +0000 (-0800) Subject: F-strings docs: link to Format Specifiers (GH-4888) (GH-4889) X-Git-Tag: v3.6.5rc1~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a9f379435c1dbe812da885b2aa869c3dbf65f35;p=thirdparty%2FPython%2Fcpython.git F-strings docs: link to Format Specifiers (GH-4888) (GH-4889) Link to the Format Specification Mini Language section from f-strings' documentation. (cherry picked from commit d924fa523df766dbf2f8b6a28ae502eb3433bfe5) --- diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 4a5abf627681..30dc72184ae2 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.