From: Catherine Alvarado Date: Sat, 4 May 2019 21:54:35 +0000 (-0400) Subject: bpo-36166: Change to rst datamodel file. (GH-13089) X-Git-Tag: v3.8.0a4~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e98f05e55d13981c7c92fb14b9c013e4227c3c1;p=thirdparty%2FPython%2Fcpython.git bpo-36166: Change to rst datamodel file. (GH-13089) --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index bad611e81c3e..9fc9f3a3848a 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1311,9 +1311,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.