[issue7994] object.__format__ should reject format strings

Mark Lawrence report at bugs.python.org
Thu Mar 20 01:35:56 CET 2014


Mark Lawrence added the comment:

That's not an exception, you've not actually called the function.

>>> None.__format__('')
'None'

----------
nosy: +BreamoreBoy

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


More information about the Python-bugs-list mailing list