summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-11 18:47:54 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-11 18:47:54 -0700
commitaf94724e00bb3e76dd0f26fb18b78e60cfcefe60 (patch)
treecb3b3bd9625b972df974089492b9f4ede47257c8
parent463974916dcaa915aa2500a4dace02f9a183df72 (diff)
downloadcpython-git-af94724e00bb3e76dd0f26fb18b78e60cfcefe60.tar.gz
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 7fad05e394..ea2e0781b8 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