From: Chris Jerdonek Date: Fri, 12 Oct 2012 01:47:54 +0000 (-0700) Subject: Fix link to str.format() in docs. X-Git-Tag: v3.2.4rc1~448 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af94724e00bb3e76dd0f26fb18b78e60cfcefe60;p=thirdparty%2FPython%2Fcpython.git Fix link to str.format() in docs. --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 7fad05e3942b..ea2e0781b8c9 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1173,7 +1173,7 @@ Basic customization builtin: print Called by the :func:`format` built-in function (and by extension, the - :meth:`format` method of class :class:`str`) to produce a "formatted" + :meth:`str.format` method of class :class:`str`) to produce a "formatted" 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