Cheryl Sabella added the comment:
I believe this has been added to the 3.4 What's New already:
object.__format__() no longer accepts non-empty format strings, it now raises a
TypeError instead. Using a non-empty string has been deprecated since Python
3.2. This change has been made to prevent
Eric V. Smith added the comment:
Oops, I missed the "should be documented" part of your message. That's true,
and I'll leave this open. But I'll change it to a doc request and assign it
accordingly.
--
assignee: eric.smith -> docs@python
components: +Documentation -Interpreter Core
nos