Skip to content

Commit d924fa5

Browse files
authored
F-strings docs: link to Format Specifiers (GH-4888)
Link to the Format Specification Mini Language section from f-strings' documentation.
1 parent 9402c83 commit d924fa5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/reference/lexical_analysis.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,8 @@ the final value of the whole string.
656656

657657
Top-level format specifiers may include nested replacement fields.
658658
These nested fields may include their own conversion fields and
659-
format specifiers, but may not include more deeply-nested replacement fields.
659+
:ref:`format specifiers <formatspec>`, but may not include more
660+
deeply-nested replacement fields.
660661

661662
Formatted string literals may be concatenated, but replacement fields
662663
cannot be split across literals.

0 commit comments

Comments
 (0)