Fix typo in object.__format__ docs (GH-19504)

This commit is contained in:
Heshy Roskes 2020-04-25 21:57:09 -04:00 committed by GitHub
parent 515fce4fc4
commit ef33712baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: