From ef33712baa2d15878b35a02fbd6ab301c999a5fe Mon Sep 17 00:00:00 2001 From: Heshy Roskes Date: Sat, 25 Apr 2020 21:57:09 -0400 Subject: [PATCH] Fix typo in object.__format__ docs (GH-19504) --- Doc/reference/datamodel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1c2706362b7..c5a7f046992 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: