From: Terry Jan Reedy Date: Fri, 28 Feb 2020 19:59:16 +0000 (-0500) Subject: bpo-13790: Change 'string' to 'specification' in format doc (GH-18690) X-Git-Tag: v3.9.0a5~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=916895f93905f8b8dad677cceff501833f5a633a;p=thirdparty%2FPython%2Fcpython.git bpo-13790: Change 'string' to 'specification' in format doc (GH-18690) --- diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 89c169a512b5..fa906f799c10 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 000000000000..77db173168fc --- /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.