Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af94724

Browse files
committed
Fix link to str.format() in docs.
1 parent 4639749 commit af94724

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ Basic customization
11731173
builtin: print
11741174

11751175
Called by the :func:`format` built-in function (and by extension, the
1176-
:meth:`format` method of class :class:`str`) to produce a "formatted"
1176+
:meth:`str.format` method of class :class:`str`) to produce a "formatted"
11771177
string representation of an object. The ``format_spec`` argument is
11781178
a string that contains a description of the formatting options desired.
11791179
The interpretation of the ``format_spec`` argument is up to the type

0 commit comments

Comments
 (0)