On 16.03.2016 19:53, Ben Finney wrote:
Do you think some better error message should be used?
Yes, I think that error message needs to be improved. Please file a bug
report in Python's issue tracker <URL:https://bugs.python.org/>.

For example a hint that "0" does work for the given argument.
I suggest: “zero-padding only allowed for numeric types, not 'str'”.

That error message would make it very clear. +1
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to