summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorHeshy Roskes <hroskes@jhu.edu>2020-04-26 01:57:09 (GMT)
committerGitHub <noreply@github.com>2020-04-26 01:57:09 (GMT)
commitef33712baa2d15878b35a02fbd6ab301c999a5fe (patch)
tree8a4a4aa90cefe0fb3d64b96cb5ebd1f08319df4b /Doc/reference
parent515fce4fc4bb0d2db97b17df275cf90640017f56 (diff)
downloadcpython-ef33712baa2d15878b35a02fbd6ab301c999a5fe.zip
cpython-ef33712baa2d15878b35a02fbd6ab301c999a5fe.tar.gz
cpython-ef33712baa2d15878b35a02fbd6ab301c999a5fe.tar.bz2
Fix typo in object.__format__ docs (GH-19504)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
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 @@ Basic customization
.. versionchanged:: 3.7
``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather
- than ``format(str(self), '')``.
+ than ``format(str(x), '')``.
.. _richcmpfuncs: