[Python-Dev] Extending tuple unpacking

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 11 09:21:06 CEST 2005


Ron Adam wrote:

> My concern is if it's used outside of functions, then on the left hand 
> side of assignments, it will be used to pack, but if used on the right 
> hand side it will be to unpack.

I don't see why that should be any more confusing than the
fact that commas denote tuple packing on the right and
unpacking on the left.

Greg



More information about the Python-Dev mailing list