]> granicus.if.org Git - python/commitdiff
F-strings docs: link to Format Specifiers (GH-4888)
authorMariatta <Mariatta@users.noreply.github.com>
Fri, 15 Dec 2017 18:07:01 +0000 (10:07 -0800)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2017 18:07:01 +0000 (10:07 -0800)
Link to the Format Specification Mini Language section from f-strings' documentation.

Doc/reference/lexical_analysis.rst

index ee3fbc13e2bcaced7534a02cee7abf7d25488811..86e55e4d9c877c5d24a5f82718dc76ef9e6c1b52 100644 (file)
@@ -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 <formatspec>`, but may not include more
+deeply-nested replacement fields.
 
 Formatted string literals may be concatenated, but replacement fields
 cannot be split across literals.