mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix typo in object.__format__ docs (GH-19504)
This commit is contained in:
parent
515fce4fc4
commit
ef33712baa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue