From 2f3a9de9431b8ccc16f437d5f56e1c4b2e24899f Mon Sep 17 00:00:00 2001 From: Heshy Roskes Date: Mon, 13 Apr 2020 14:55:53 -0400 Subject: [PATCH] fix __format__ documentation --- 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 1c2706362b718f..c5a7f046992dd1 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: