Skip to content

Commit 916895f

Browse files
authored
bpo-13790: Change 'string' to 'specification' in format doc (GH-18690)
1 parent c705fd1 commit 916895f

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
@@ -302,9 +302,9 @@ specification is to be interpreted.
302302
Most built-in types implement the following options for format specifications,
303303
although some of the formatting options are only supported by the numeric types.
304304

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

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

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)