mirror of https://github.com/python/cpython
Fix typo in object.__format__ docs (GH-19504)
This commit is contained in:
parent
515fce4fc4
commit
ef33712baa
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue