Misleading error message of the day
Roy Smith
roy at panix.com
Thu Dec 8 10:30:05 EST 2011
On Thursday, December 8, 2011 9:47:02 AM UTC-5, Robert Kern wrote:
> Would including the respective numbers help your thought processes?
>
> ValueError: too many values to unpack (expected 2, got 3)
I don't know if that would have done the trick for me on this particular one. On the other hand, adding "expected X, got Y" to the message would generally be a good thing.
More information about the Python-list
mailing list