Eric V. Smith added the comment:

TypeError is documented as "Raised when an operation or function is applied to 
an object of inappropriate type". I think that fits this case: you're applying 
some format code to a type that doesn't support it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to