Skip to content

Commit 5157506

Browse files
bpo-13790: Change 'string' to 'specification' in format doc (GH-18690)
(cherry picked from commit 916895f) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent f4198ae commit 5157506

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Doc/library/string.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,9 @@ specification is to be interpreted.
303303
Most built-in types implement the following options for format specifications,
304304
although some of the formatting options are only supported by the numeric types.
305305

306-
A general convention is that an empty format string (``""``) produces
306+
A general convention is that an empty format specification produces
307307
the same result as if you had called :func:`str` on the value. A
308-
non-empty format string typically modifies the result.
308+
non-empty format specification typically modifies the result.
309309

310310
The general form of a *standard format specifier* is:
311311

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Change 'string' to 'specification' in format doc.

0 commit comments

Comments
 (0)