From: Heshy Roskes Date: Sun, 26 Apr 2020 01:57:09 +0000 (-0400) Subject: Fix typo in object.__format__ docs (GH-19504) X-Git-Tag: v3.9.0a6~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef33712baa2d15878b35a02fbd6ab301c999a5fe;p=thirdparty%2FPython%2Fcpython.git Fix typo in object.__format__ docs (GH-19504) --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1c2706362b71..c5a7f046992d 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1350,7 +1350,7 @@ Basic customization .. versionchanged:: 3.7 ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather - than ``format(str(self), '')``. + than ``format(str(x), '')``. .. _richcmpfuncs: