[issue28974] Make default __format__ be equivalent to __str__

Serhiy Storchaka report at bugs.python.org
Sat May 13 05:40:54 EDT 2017


Serhiy Storchaka added the comment:


New changeset 7e19dbc92ec06a987eaae72f7cdfd32006aa4960 by Serhiy Storchaka in branch 'master':
bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506)
https://github.com/python/cpython/commit/7e19dbc92ec06a987eaae72f7cdfd32006aa4960


----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28974>
_______________________________________


More information about the Python-bugs-list mailing list