Unpack less values from function's return values

dudeja.rajat at gmail.com dudeja.rajat at gmail.com
Thu May 28 06:19:12 EDT 2009


Hi,

I'm using Python 2.5.2. I'm getting this error whenever I try to unpack less
values from a function.

ValueError: too many values to unpack


I want to know if there is a way I can unpack less values returning from a
function?

Thanks,
Rajat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090528/adfc3ed7/attachment.html>


More information about the Python-list mailing list