]> granicus.if.org Git - python/commit
bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 13 May 2017 09:40:52 +0000 (12:40 +0300)
committerGitHub <noreply@github.com>
Sat, 13 May 2017 09:40:52 +0000 (12:40 +0300)
commit7e19dbc92ec06a987eaae72f7cdfd32006aa4960
tree29a0b2c806b128c9c111b09b0c01ba3107e88bce
parenta66f9c6bb134561a24374f10e8c35417d356ce14
bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506)

rather than `format(str(self), '')`.
Doc/reference/datamodel.rst
Doc/whatsnew/3.7.rst
Misc/NEWS
Objects/typeobject.c