From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 5 May 2019 03:21:28 +0000 (-0700) Subject: bpo-36166: Change to rst datamodel file. (GH-13089) (#13094) X-Git-Tag: v3.7.4rc1~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37125ff6e2f988a14b46525b7df24d2997bee836;p=thirdparty%2FPython%2Fcpython.git bpo-36166: Change to rst datamodel file. (GH-13089) (#13094) (cherry picked from commit 5e98f05e55d13981c7c92fb14b9c013e4227c3c1) Co-authored-by: Catherine Alvarado --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 61a1bf425e53..962ec7e6c719 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1315,9 +1315,9 @@ Basic customization Called by the :func:`format` built-in function, and by extension, evaluation of :ref:`formatted string literals ` and the :meth:`str.format` method, to produce a "formatted" - string representation of an object. The ``format_spec`` argument is + string representation of an object. The *format_spec* argument is a string that contains a description of the formatting options desired. - The interpretation of the ``format_spec`` argument is up to the type + The interpretation of the *format_spec* argument is up to the type implementing :meth:`__format__`, however most classes will either delegate formatting to one of the built-in types, or use a similar formatting option syntax.