Browse Source

Fix link to str.format() in docs.

pull/2332/head
Chris Jerdonek 14 years ago
parent
commit
af94724e00
  1. 2
      Doc/reference/datamodel.rst

2
Doc/reference/datamodel.rst

@ -1173,7 +1173,7 @@ Basic customization
builtin: print builtin: print
Called by the :func:`format` built-in function (and by extension, the 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 string representation of an object. The ``format_spec`` argument is
a string that contains a description of the formatting options desired. 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

Loading…
Cancel
Save