commit | ef33712baa2d15878b35a02fbd6ab301c999a5fe | [log] [tgz] |
---|---|---|
author | Heshy Roskes <hroskes@jhu.edu> | Sat Apr 25 21:57:09 2020 -0400 |
committer | GitHub <noreply@github.com> | Sat Apr 25 21:57:09 2020 -0400 |
tree | 8a4a4aa90cefe0fb3d64b96cb5ebd1f08319df4b | |
parent | 515fce4fc4bb0d2db97b17df275cf90640017f56 [diff] [blame] |
Fix typo in object.__format__ docs (GH-19504)
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1c27063..c5a7f04 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst
@@ -1350,7 +1350,7 @@ .. versionchanged:: 3.7 ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather - than ``format(str(self), '')``. + than ``format(str(x), '')``. .. _richcmpfuncs: