[Python-checkins] [python/cpython] 7e19db: bpo-28974: `object.__format__(x, '')` is now equiv...

GitHub noreply at github.com
Sat May 13 05:40:54 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 7e19dbc92ec06a987eaae72f7cdfd32006aa4960
      https://github.com/python/cpython/commit/7e19dbc92ec06a987eaae72f7cdfd32006aa4960
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-05-13 (Sat, 13 May 2017)

  Changed paths:
    M Doc/reference/datamodel.rst
    M Doc/whatsnew/3.7.rst
    M Misc/NEWS
    M Objects/typeobject.c

  Log Message:
  -----------
  bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506)

rather than `format(str(self), '')`.




More information about the Python-checkins mailing list