[issue40202] Misleading grammatically of ValueError Message?
Vedran Čačić
report at bugs.python.org
Thu Apr 9 16:13:05 EDT 2020
Vedran Čačić <vedgar at gmail.com> added the comment:
> It says **too many** but I assign a few than the size of the list. am I the one who wrong here?
Yes. The same as here:
> Should said something else because it received less values and expected should say 3 and not 2, correct?
You probably don't understand _values_. a,b and x,y on the left side are not values. They are names. The 1,2,3 on the right side are values. Those are counted.
----------
nosy: +veky
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40202>
_______________________________________
More information about the Python-bugs-list
mailing list