bpo-13790: Change 'string' to 'specification' in format doc (GH-18690)
(cherry picked from commit 916895f939
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
f4198aee4c
commit
5157506e04
|
@ -303,9 +303,9 @@ specification is to be interpreted.
|
||||||
Most built-in types implement the following options for format specifications,
|
Most built-in types implement the following options for format specifications,
|
||||||
although some of the formatting options are only supported by the numeric types.
|
although some of the formatting options are only supported by the numeric types.
|
||||||
|
|
||||||
A general convention is that an empty format string (``""``) produces
|
A general convention is that an empty format specification produces
|
||||||
the same result as if you had called :func:`str` on the value. A
|
the same result as if you had called :func:`str` on the value. A
|
||||||
non-empty format string typically modifies the result.
|
non-empty format specification typically modifies the result.
|
||||||
|
|
||||||
The general form of a *standard format specifier* is:
|
The general form of a *standard format specifier* is:
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Change 'string' to 'specification' in format doc.
|
Loading…
Reference in New Issue