summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-12 01:47:54 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-12 01:47:54 (GMT)
commitaf94724e00bb3e76dd0f26fb18b78e60cfcefe60 (patch)
treecb3b3bd9625b972df974089492b9f4ede47257c8
parent463974916dcaa915aa2500a4dace02f9a183df72 (diff)
downloadcpython-af94724e00bb3e76dd0f26fb18b78e60cfcefe60.zip
cpython-af94724e00bb3e76dd0f26fb18b78e60cfcefe60.tar.gz
cpython-af94724e00bb3e76dd0f26fb18b78e60cfcefe60.tar.bz2
Fix link to str.format() in docs.
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 7fad05e..ea2e078 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