diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-28 20:06:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 20:06:53 (GMT) |
commit | 445152e0d3ab6e4381aef8d1404c2c17a516070f (patch) | |
tree | 19d7dc6811063725e0d472704861fb18509e5061 | |
parent | 846ca4961da24669e6e0c901986e66ff485917b2 (diff) | |
download | cpython-445152e0d3ab6e4381aef8d1404c2c17a516070f.zip cpython-445152e0d3ab6e4381aef8d1404c2c17a516070f.tar.gz cpython-445152e0d3ab6e4381aef8d1404c2c17a516070f.tar.bz2 |
bpo-13790: Change 'string' to 'specification' in format doc (GH-18690)
(cherry picked from commit 916895f93905f8b8dad677cceff501833f5a633a)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-rw-r--r-- | Doc/library/string.rst | 4 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2020-02-28-14-39-25.bpo-13790.hvLaRI.rst | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 89c169a..fa906f7 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -302,9 +302,9 @@ specification is to be interpreted. Most built-in types implement the following options for format specifications, 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 -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: diff --git a/Misc/NEWS.d/next/Documentation/2020-02-28-14-39-25.bpo-13790.hvLaRI.rst b/Misc/NEWS.d/next/Documentation/2020-02-28-14-39-25.bpo-13790.hvLaRI.rst new file mode 100644 index 0000000..77db173 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-02-28-14-39-25.bpo-13790.hvLaRI.rst @@ -0,0 +1 @@ +Change 'string' to 'specification' in format doc. |