mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
F-strings docs: link to Format Specifiers (GH-4888)
Link to the Format Specification Mini Language section from f-strings' documentation.
This commit is contained in:
parent
9402c8367b
commit
d924fa523d
1 changed files with 2 additions and 1 deletions
|
|
@ -656,7 +656,8 @@ the final value of the whole string.
|
||||||
|
|
||||||
Top-level format specifiers may include nested replacement fields.
|
Top-level format specifiers may include nested replacement fields.
|
||||||
These nested fields may include their own conversion fields and
|
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
|
Formatted string literals may be concatenated, but replacement fields
|
||||||
cannot be split across literals.
|
cannot be split across literals.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue