Skip to content

Commit

Permalink
F-strings docs: link to Format Specifiers (GH-4888) (GH-4889)
Browse files Browse the repository at this point in the history
Link to the Format Specification Mini Language section from f-strings' documentation.
(cherry picked from commit d924fa5)
  • Loading branch information
miss-islington authored and Mariatta committed Dec 15, 2017
1 parent 7d1fbec commit 5a9f379
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/reference/lexical_analysis.rst
Expand Up @@ -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.
Expand Down

0 comments on commit 5a9f379

Please sign in to comment.